Hello.
In a project I use android as TCP Client and VB6 as TCP Server.
I use the AStreams in prefix mode to send pictures to the Client (Android).
The problem is that, once connected, can only send/receive one transmission (one picture). To send another picture, I need to stop and connect again the Socket.
The bytes transmited by the server are always the same, and in VB6 I include the correct prefix. So the Android Client only receive the first transmission.
In the example, you can click either in the server or in the client, to display one of the two pictures.
In the attached files there are a B4A source and a PC Server executable program.
Anyone know what could be the problem?
Greetings.
In a project I use android as TCP Client and VB6 as TCP Server.
I use the AStreams in prefix mode to send pictures to the Client (Android).
The problem is that, once connected, can only send/receive one transmission (one picture). To send another picture, I need to stop and connect again the Socket.
The bytes transmited by the server are always the same, and in VB6 I include the correct prefix. So the Android Client only receive the first transmission.
In the example, you can click either in the server or in the client, to display one of the two pictures.
In the attached files there are a B4A source and a PC Server executable program.
Anyone know what could be the problem?
Greetings.