in reply to Re^2: Socket hangs
in thread Socket hangs

I have never gotton the sysread to function properly on a socket. All of the implementations that I have use the shutdown command.

That is why I recomed the shutdown($socketname, 1) to return the data.

My only experience with sockets is when i connect send a command dissconnect and then reconenct for another command.

Replies are listed 'Best First'.
Re^4: Socket hangs
by navarro (Initiate) on Dec 23, 2005 at 19:15 UTC
    I understand. In my case i need to stay connected becouse it is look like an interative shell. Thanks for advance mikeock!