Another thing about the 'ReusePort' and 'ReuseAddr' that I'm not sure has been hit upon yet is that there is (I only remember this because I read it like 15 minutes ago) is that there is a single parameter called 'Reuse' that will allow your script/program to use the same port/address even if the script/program is stopped.
Here is a snippet from the IO::Socket POD on this machine (Win2k, Perl 5.005_03):
SUB-CLASSES
IO::Socket::INET
'IO::Socket::INET' provides a constructor to create an AF_INET domain socket and some related methods. The constructor can take the following options
...
...
...
...
Reuse -- Set SO_REUSEADDR before binding
Hope this is of some use to you...
Note: One thing you will need to be careful of (this is a general networking practice...) is if anything is running on the same port that your program is running on. If so, you'll have a lot of problems. I don't remember whether or not you even need to have a 'ReusePort' parameter since, if I recall, you can't have multiple services bound to one port anyway (or maybe that comes from my lack of knowledge of sockets in the *nix/*nux domain).
Theodore Charles III
Network Administrator
Los Angeles Senior High
4650 W. Olympic Blvd.
Los Angeles, CA 90019
323-937-3210 ext. 224
email->secon_kun@hotmail.com
perl -e "map{print++$_}split//,Mdbnr;"