in reply to Re: make my code non blockin thread make my code non block
See Re: How to do simultaneous reads and writes to/from a socket?.