lkml.org 
[lkml]   [1998]   [Feb]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: connect() question

On Mon, 2 Feb 1998, Alex Belits wrote:

> On Mon, 2 Feb 1998, Chris Evans wrote:
>
> > Whats the default timeout on connect()? Can a user level program alter
> > this? Would it be considered useful functionality?
>
> Use nonblocking mode with select() on connecting socket.

Ooops, I should have been more careful in my original post to state that
I'm aware of the "tricks of the trade". I was merely curious what kind of
time has to pass before the specifically documented ETIMEDOUT error is
returned by connect()

Cheers
Chris


\
 
 \ /
  Last update: 2005-03-22 13:41    [W:0.027 / U:0.592 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site