Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^3: Socket client thread design problem

by zentara (Archbishop)
on Mar 21, 2014 at 22:01 UTC ( [id://1079361]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1079361]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (4)
As of 2024-04-24 21:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found