Connecting a socket to a server.

François THIMON thimof at
Thu May 26 11:18:25 UTC 2005

Quoting Lex Spoon <lex at>:

> =?iso-8859-1?b?RnJhbudvaXM=?= THIMON <thimof at> wrote:
> >   Socket newTCP connectTo:'' port:1024
> >   Socket createIfFail:[...] connectTo:'localhost' port:1024
> >   Socket createIfFail:[...] connectTo:'' port:1024
> Those functions require a ByteArray containing the 4 bytes of the IP
> address (though it might be nice if they *did* accept the options you
> give....  am I missing something?).
> You should check out the "example" methods in class OldSocket.  It is a
> pity those methods are in OldSocket instead of Socket, but no one has
> gotten around to making a changeset to fix it.
> -Lex
actually I've fixed my problem two days ago by checking as much code as I could.
But still thanks for your help.

More information about the Squeak-dev mailing list