Socket.st
changeset 898 8cf7b1fb2e5c
parent 896 2ca43149a20e
child 915 3dc0e3cd838a
equal deleted inserted replaced
897:cc07264c7492 898:8cf7b1fb2e5c
  4064 #else /* NO_SOCKET */
  4064 #else /* NO_SOCKET */
  4065     RETURN (false);
  4065     RETURN (false);
  4066 #endif /* NO_SOCKET */
  4066 #endif /* NO_SOCKET */
  4067 %}.
  4067 %}.
  4068     isAsync == true ifTrue:[
  4068     isAsync == true ifTrue:[
  4069         (self readWaitWithTimeoutMs:timeout) ifTrue:[
  4069         (self writeWaitWithTimeoutMs:timeout) ifTrue:[
  4070             "/ a timeout occured
  4070             "/ a timeout occured
  4071             "/ should cancel the connect?
  4071             "/ should cancel the connect?
  4072             ^ false.
  4072             ^ false.
  4073         ].
  4073         ].
  4074         err := self getSocketError.
  4074         err := self getSocketError.
  4761 ! !
  4761 ! !
  4762 
  4762 
  4763 !Socket class methodsFor:'documentation'!
  4763 !Socket class methodsFor:'documentation'!
  4764 
  4764 
  4765 version
  4765 version
  4766     ^ '$Header: /cvs/stx/stx/libbasic2/Socket.st,v 1.148 2000-08-04 16:27:09 stefan Exp $'
  4766     ^ '$Header: /cvs/stx/stx/libbasic2/Socket.st,v 1.149 2000-08-08 13:31:13 stefan Exp $'
  4767 ! !
  4767 ! !