http://nodejs.org/api/net.html#net_socket_settimeout_timeout_callback
Worked for me! thanks great. Am 04.03.2013 um 17:22 schrieb Ben Noordhuis <[email protected]>: > On Mon, Mar 4, 2013 at 5:17 PM, Bodo Kaiser <[email protected]> wrote: >> Hello, >> >> I am working on another WebSocket implementation and currently I experience >> that a socket closes after two minutes. >> >> Is there something I could set to avoid this behavior or do I have to use >> some sort of "heartbeat" frames? >> >> Source: https://github.com/bodokaiser/node-websockets >> >> Regards, >> Bodo Kaiser > > req.setTimeout(0) > > -- > -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > You received this message because you are subscribed to the Google > Groups "nodejs" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en > > --- > You received this message because you are subscribed to a topic in the Google > Groups "nodejs" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/nodejs/YBy3k-2UIZc/unsubscribe?hl=en. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
