TCP Sockets errors

  • Thread starter Thread starter Safiiru no Baka
  • Start date Start date
If you mean, "How do I continue processing incoming data on the first
connected socket?", you'd put the read code, GetString, and Invoke in a loop
and have that loop run until either you've received all the data you want
(at which time you'd close the socket), or until the guy at the other end of
the pipe closes the socket, at which time you'd close your end and drop back
to the outer loop waiting for another connection.

Paul T.
 
Hi Paul,

I understand, I have re-written the code like you suggested and works
very well.

Thanks a lot!
 
Back
Top