in reply to Re: No data received on client socket
in thread No data received on client socket
Which change fixed it? Did using while (<FH>) or fixing the options passed to the constructor fix it?
SOCK_STREAM is 1, but 'SOCK_STREAM' probably got treated as 0. If that's the problem, you should go back to using sysread/syswrite.
By the way, what's with local *FH = $oSocket;? Everywhere you use FH, you can put $oSocket. (e.g. print $oSocket ..., while (<$oSocket>), sysread($oSocket, ...), etc)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: No data received on client socket
by rbi (Monk) on Sep 21, 2006 at 16:07 UTC |