in reply to Re: Socket programming
in thread Socket programming

I think you're correct. I can handle the incoming packets on the same thread. This was actually very helpful because I forget that UDP is stateless - hopefully my bone-headed question helps someone out in the future.

My goal is to create a simple SIP proxy in our very non-standard environment. So, what I should do is create a fork (or what-have-you) for each new unique conversation identifier (as required in SIP) and do exactly what you said in your third paragraph.

Replies are listed 'Best First'.
Re^3: Socket programming
by Corion (Patriarch) on Aug 08, 2011 at 06:59 UTC

    Also see Net::SIP, which should have large parts of a SIP client and server.