in reply to Re^2: Socket client thread design problem
in thread Socket client thread design problem

But on Windows I still ran into problems with this socket sharing and threads due to the problem of threads->create() blocking if a socket is on a locked state

Maybe ioctl for non-blocking and blocking in Windows would be useful, or google for perl ioctl windows nonblocking.


I'm not really a human, but I play one on earth.
Old Perl Programmer Haiku ................... flash japh
  • Comment on Re^3: Socket client thread design problem

Replies are listed 'Best First'.
Re^4: Socket client thread design problem
by photron (Novice) on Mar 24, 2014 at 15:24 UTC

    This just seems to switch the socket between blocking and non-blocking mode. This can also be done with the Blocking parameter of the IO::Socket::INET. This blocking is not the problem. I actually want my socket blocking like this.