[BUG/FIX] Socket class new
Michael Rutenberg
mdr at scn.org
Wed May 5 21:52:42 UTC 1999
"Socket new" used to automatically send the message "initialize" to the newly created socket. With recent socket updates that stopped happening and so old-style clients (e.g. Celeste) fail to initialize the socket.
Attached is the changed method. It just adds initialize after the newTCP.
Mike
mdr at scn.org
///////
(Socket class) new
"Return a new, unconnected Socket. Note that since socket creation may fail, it is safer to use the method createIfFail: to handle such failures gracefully; this method is primarily for backward compatibility and may be disallowed in a future release."
"Note: The default creates a TCP socket - this is also backward compatibility."
^self newTCP initialize
More information about the Squeak-dev
mailing list
|