in reply to No data in server file using io::socket
or it may be "some time" before the socket is available for reuse. If you are on *NIX see the bind(2) manual. 2) Setting LocalAddr to localhost is probably not what you want. If you want connections from other computers, use INADDR_ANY or just don't set LocalAddr.$server = ... setsockopt $server, SOL_SOCKET, SO_REUSEADDR, 1;
HTH, --traveler
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: No data in server file using io::socket
by wog (Curate) on Oct 26, 2001 at 01:31 UTC |