Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re^3: Socket Handle not sending data ?

by targetsmart (Curate)
on Jul 09, 2009 at 13:09 UTC ( #778562=note: print w/ replies, xml ) Need Help??

in reply to Re^2: Socket Handle not sending data ?
in thread Socket Handle not sending data ?

Lauching a thread everytime to check the availability of the socket connection is not a good idea.
just check defined on socket handle or check eof on socket handle or establish a heart beat mechanism to know the liveliness of the socket/program.
If you show the piece of code which requires efficiency, we would able to tell you what could be the best way of dealing it.

-- 'I' am not the body, 'I' am the 'soul', which has no beginning or no end, no attachment or no aversion, nothing to attain or lose.

Comment on Re^3: Socket Handle not sending data ?
Replies are listed 'Best First'.
Re^4: Socket Handle not sending data ?
by evilkamikaze (Initiate) on Jul 09, 2009 at 14:19 UTC

    Log In?

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

    How do I use this? | Other CB clients
    Other Users?
    Others romping around the Monastery: (12)
    As of 2015-09-01 06:38 GMT
    Find Nodes?
      Voting Booth?

      The oldest computer book still on my shelves (or on my digital media) is ...

      Results (367 votes), past polls