[FIX] Socket accept handling

Luciano Notarfrancesco lnotarfrancesco at yahoo.com
Mon Jul 28 21:11:04 UTC 2003


Hi Stephen,

>waitForAcceptFor: timeout
>waitForAcceptFor: timeout ifTimedOut: timeoutBlock
>waitForConnectionFor: timeout
>waitForConnectionFor: timeout ifTimedOut: timeoutBlock
>waitForDataFor: timeout
>waitForDataFor: timeout ifClosed: closedBlock ifTimedOut: timedOutBlock
>  
>
What's the point of the *ifTimedOut: and *ifClosed:ifTimedOut: messages? 
Wouldn't it be better to implement only waitFor*For: and encourage 
people to use exceptions?

>	[Time millisecondClockValue < deadline]
>  
>
I think this might cause problems with clock rollovers. Take a look at 
Time|millisecondsSince:

Luciano.-



More information about the Squeak-dev mailing list