in reply to Simple Sockets
netstat won't display the port, but netstat /a should. (In Windows)
Are you in Windows XP, or do you run a firewall on your machine? It could be preventing the socket from being created or reached.
According to the docs, <HANDLE> shouldn't be used with sockets. sysread should be used instead. I don't think that's the problem, though.
In fact, it ran for on my system after I removed LocalHost => '192.168.1.50', from the server (and you probably shouldn't be using it either) and used '127.0.0.1' for the PeerAddr on the client.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Simple Sockets
by stellagoddc (Novice) on May 12, 2006 at 15:17 UTC |