It looks like you're closing sockets and shutting down after reading the first message.
Seems to me you should have a loop in there to keep reading multiple times until you decide it is appropriate to stop.
In reply to Re: How to insert delay between two server-client messages.
by SuicideJunkie
in thread How to insert delay between two server-client messages.
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |