I sincerely hope I did not miss the answer to my question in another thread.
I am working on a UDP service to interact with some SIP phones and I am very new to socket programming, and new to Perl.
I have been using IO::Socket::INET to create a socket and respond to incoming messages. I want to ultimately create a forking (or threading, or coroutine-ing) service which immediately spawns on receipt of a request for obvious reasons involving concurrency.
If I pass my socket handle (created by IO::Socket::INET->new()) to the new process/thread/coroutine, will I be able to continue a conversation in the child line of execution whilst receiving new messages in the parent line of execution, or must I build my own system of channels to route messages from the same origin to the correct child line of execution?
Please help me remove my head from where the sun doesn't shine.
In reply to Socket programming by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |