Think about Loose Coupling | |
PerlMonks |
Re: How to shut down UNIX sockets?by hnd (Scribe) |
on Sep 01, 2009 at 19:06 UTC ( [id://792716]=note: print w/replies, xml ) | Need Help?? |
i think what you want to do is: send one message and wait for the reply then again reply to reply received previously you can use I/O multiplexing um.... that is to say you can use IO::Select module's can_read() and can_write() functions..... they check whether the socket is ready for reading or writing..... better than forking... check out the documentation of IO::Select here
===================================================== i'am worst at what do best and for this gift i fell blessed... i found it hard it's hard to find well whatever NEVERMIND
In Section
Seekers of Perl Wisdom
|
|