Connecting a socket to a server.

François THIMON thimof at
Fri May 20 14:21:15 UTC 2005

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:'' port:1024
  Socket createIfFail:[...] connectTo:'localhost' port:1024
  Socket createIfFail:[...] connectTo:'' port:1024

Does someone know why? Thanks in advance.

More information about the Squeak-dev mailing list