Sockets - read and write
Posted on 2001-08-28
i am creating a socket server and a socket client.
The server waits for connections on a special port
and the client sents messages to the server.
If the server receives a message, he replys a
message to the client. The length of that message
is not exactly known.
My problem: How can i implement an appropriate read
on both sides.
On both sides I don't know the size of
Does anbody have sample code for such a read function ??
Do you have a thin example server ?