in reply to Socket Questions
Please use <code> tags around your code listing, otherwise lots of special characters and the indentation are invisible
What I can see is that you seem to recv twice inside the loop, once at the start and once at the end of the loop. So your script will listen->send->listen->listen->send
|
|---|