in reply to Re^4: Problem with Socket Programming Perl Script
in thread Problem with Socket Programming Perl Script
You seem to have it backwards. nco_objserv is listening on that port (see "LISTEN" in netstat output). That means it won't send any data unless you connect to it as a client. Which is what your first attempt looked like... So, modify that initial code to just don't do accept, but rather simply read from the socket.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Problem with Socket Programming Perl Script
by ashok.g (Beadle) on Jan 24, 2011 at 11:24 UTC | |
by Anonymous Monk on Jan 24, 2011 at 11:30 UTC | |
by Anonyrnous Monk (Hermit) on Jan 24, 2011 at 11:33 UTC | |
by ashok.g (Beadle) on Jan 24, 2011 at 11:54 UTC | |
by Anonyrnous Monk (Hermit) on Jan 24, 2011 at 12:03 UTC |