cybercrypt
02-07-2003, 12:03 PM
I am using the following line of code to read text back from my server through tcp in a connection oriented state. The problem is that the client can send as many times as it wants and the server picks up each text string sent just fine.
However if I try to send text back to teh client it only seems to work once.
ie: I get both strings sent, but they are received on the client through a single recv line which appends the first string to the second until the buffer fills up where it then feeds over to my next variable specified in the second recv line.
What do I need to do to get the client to recv 1 line from server, then recv the second line?
Thanks,
CyberCrypt
However if I try to send text back to teh client it only seems to work once.
ie: I get both strings sent, but they are received on the client through a single recv line which appends the first string to the second until the buffer fills up where it then feeds over to my next variable specified in the second recv line.
What do I need to do to get the client to recv 1 line from server, then recv the second line?
Thanks,
CyberCrypt