T
The Doctor
Hey people,
I have two applications:
the server, which creates a server socket, waits for a real-time signal,
and if it receives one, it creates a client socket.
The client, which will connect to the server. This will generate a real-
time signal at the server, who will create a client socket for this
client.
This all works well, and I see a client appearing at my server, on a
connection attempt. But then, the client tries to send the server-side
client socket some data. This is where it all goes wrong. The client
sends, but sometimes, the server doesn't receive it. The weird thing is,
it receives it when the client is killed. Some other times, the
application just works, and the server receives the data at the moment it
is sent from the client.
I think this could be some problem with an output buffer at the client or
so? Is there anyone who knows what the problem is?
Grtz, The Doctor
I have two applications:
the server, which creates a server socket, waits for a real-time signal,
and if it receives one, it creates a client socket.
The client, which will connect to the server. This will generate a real-
time signal at the server, who will create a client socket for this
client.
This all works well, and I see a client appearing at my server, on a
connection attempt. But then, the client tries to send the server-side
client socket some data. This is where it all goes wrong. The client
sends, but sometimes, the server doesn't receive it. The weird thing is,
it receives it when the client is killed. Some other times, the
application just works, and the server receives the data at the moment it
is sent from the client.
I think this could be some problem with an output buffer at the client or
so? Is there anyone who knows what the problem is?
Grtz, The Doctor