Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^3: Socket hangs

by mikeock (Hermit)
on Dec 23, 2005 at 18:55 UTC ( [id://518805]=note: print w/replies, xml ) Need Help??


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!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://518805]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2024-03-28 11:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found