in reply to UDP Listener / Server
Thanks for those suggestions! I have been thinking and my requirement could be better titled as -
"Multi-threaded UDP Listener / Server"
I have been thinking of using POE and/or forking but am not sure what might be a better approach.
I will always have data being received on the port. This could be one packet, 10's or 100's or 1000's. I assume I cannot use TCP because of the fact the TCP will send out an acknowledge, it might take more time than UDP and will also use server resources. I might be wrong, so please correct me. Further, my UDP clients have nothing built in to acknowledge the server.
I was looking at the pre-forking server script in the Perl cookbook and was wondering if that is the right approach?
Thanks for the help.
Ragger
|