K 10 svn:author V 8 deischen K 8 svn:date V 27 2003-12-09T23:40:27.000000Z K 7 svn:log V 303 accept() returns a file descriptor when it succeeds which is very likely to be non-zero. When leaving the cancellation point, check the return value against -1 to see if cancellation should be checked. While I'm here, make the same change to connect() just to be consisitent. Pointed out by: davidxu END