Your code presumes that the other side will send a newline terminated response and then close the socket. Perhaps this is not the case (i.e. it's sending a response and waiting for another query; or it's sending a response but it doesn't contain a newline character (or your platform's newline character))?
In reply to Re: Sending a low-level query using sockets? (A confused newbie)
by Fletch
in thread Sending a low-level query using sockets? (A confused newbie)
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |