If I do the same test without threads it works fine...
Really? Could you show me your non-threaded code that allows you to be both server and client talking through the same port and the same IO::Socket::INET handle at the same time?
Because that is what you are trying to do in the above code.
In reply to Re: IO::Socket::INET, threads, and screwy recv() results
by BrowserUk
in thread IO::Socket::INET, threads, and screwy recv() results
by jettero
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |