help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] Error handling/checking, exceptions in general


From: Bonzini
Subject: Re: [Help-smalltalk] Error handling/checking, exceptions in general
Date: Mon, 23 Dec 2002 18:45:28 +0100

> A non-blocking connect (in C, anyway) would return EINPROGRESS if it 
> cannot complete the connection immediately.  You'd be responsible for 
> polling for the completion of the connection by selecting on the 
> writability of the socket.  Once the socket becomes writable, then you 
> need to getsockopt() to read the SO_ERROR option to determine if the 
> connection failed or succeeded.

Ok, thanks.  I'll add a check for this.

Paolo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]