Connecting a socket to a server.
François THIMON
thimof at iutc3.unicaen.fr
Fri May 20 14:21:15 UTC 2005
Hi.
I'm trying to use a client socket that connects itself to a server (from
KomServices) that's already running in squeak.
The socket seems to be created correctly but the connection primitive always
fails. I've tried the following statements :
Socket newTCP connectTo:'localhost' port:1024
Socket newTCP connectTo:'127.0.0.1' port:1024
Socket createIfFail:[...] connectTo:'localhost' port:1024
Socket createIfFail:[...] connectTo:'127.0.0.1' port:1024
Does someone know why? Thanks in advance.
More information about the Squeak-dev
mailing list
|