Most glorious Monks,
I started learning Perl 2 or 3 months ago, and my first 'project' is to write some that will capture RTP packets (with Net:Pcap) and eventual decode the resulting payload (with Net::RTP::Packet). All in a VoIP respect.. to be clear.
While planning something on paper, to roughly judge how I will code this, I realised that I wasn't sure how I could have this deal with multiple instances of RTP packets being captured.
For example.. 1 call begins and the script picks this up and begins to output the payload to a file. While this call is occuring a 2nd call begins -...
That's where I can't percieve how the script will react? I imagined looping the capture would be the right thing to do.. but would it begin to capture a 2nd call without the 1st one having finished?
I perhaps feel like I'm not aware of a concept, as Perl is my first programming language.
Thanks for any direction you can give.
Thank you Monks,
Ben
In reply to Dealing with multiple processes? by bigmoose
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |