Quick question
[email protected] (Cary Lewis) Fri, 7 Oct 2011 16:24:39 -0400
| Newsgroups | perl.poe |
|---|---|
| Message-ID | <CAEF1h+VSD0c6Kwk7D+zUpQu5otyVX1HMb7kN_KUD=H05CepJzw@mail.gmail.com> |
I want to create a TCP server that allocates a random TCP port - this is done by specifying port 0, but how do I determine which port has been allocated, prior to a client connecting to it? I need to set up some other configuration based on the port, so I need it right after the port is allocated. I am using POE::Component::Server::TCP Thanks.