Hello, We are in the process of writing a perl program that can send network traffic on the native pc network port. Essentially, the perl program emulates as if different traffic type sources are sending the traffic data. For this, our plan is to have a independent thread to emulate each traffic type (e.g. slow/small traffic, small/fast traffic, large/infrequent traffic etc.) So, a mail program would spawn multiple threads and these threads would send events back to main thread. The main thread would then send traffic depending on the type of event it receives.
Can someone let me know what perl constructs to use for implementing this program. This is our first time with perl threads. Thanks ...