Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: How to do simultaneous reads and writes to/from a socket?

by jesuashok (Curate)
on May 10, 2006 at 09:57 UTC ( #548420=note: print w/replies, xml ) Need Help??


in reply to How to do simultaneous reads and writes to/from a socket?

Hi

If you have opened the socket in Block mode then make it as O_NONBLOCK mode open.
Also, you can use Poll
If you need more information on this, post your code also, so that it will be easier for us to help.

"Keep pouring your ideas"
  • Comment on Re: How to do simultaneous reads and writes to/from a socket?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://548420]
help
Chatterbox?
[choroba]: erix Seems too complex
[erix]: do you mean: 'it can be done simpler', or 'it won't work' ?
[choroba]: I wouldn't want to maintain it in the current form
[erix]: ok, but mainainability comes after it has been made to work :)

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (11)
As of 2018-01-19 08:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How did you see in the new year?










    Results (216 votes). Check out past polls.

    Notices?