Hi, i think there is something wrong with listenOn:. I am not sure what exactly. the variation below seems to work in Pharo 1.0 on OS X. | server client | server := Socket new. server listenOn: 12345 backlogSize: 4. server waitForConnectionFor: 600. client := server accept. client receiveData --> 'hello ' and from a shell echo hello | nc localhost 12345 I also check the status of my sockets using lsof which is quite good to debug mike-mac:~ mike$ lsof -n -i -P | grep Squeak Squeak 10787 mike 11u IPv4 0x66bc270 0t0 TCP *:54180 (LISTEN) Squeak 10787 mike 12u IPv4 0x66c1a68 0t0 TCP 127.0.0.1:12345->127.0.0.1:54183 (CLOSE_WAIT) You can also have a look at ConnectionQueue which implements a server loop like you describe hope that helps cheers, Mike On Thu, Apr 15, 2010 at 1:08 PM, Daniel Birkinshaw <daniel.birkinshaw@googlemail.com> wrote:
On Thu, Apr 15, 2010 at 09:19:55AM +0200, Stéphane Ducasse wrote:
Thanks for reporting... Daniel can you also try:
 http://squeakvm.org/unix/release/Squeak-4.0.3.2202-linux_i386.tar.gz binaries  http://lolgzs.free.fr/pharo/Pharo-1.0-OneClick.zip
Stef
No luck there either I'm afraid.
Also I should mention that the launcher script that comes with squeak 4.0.3 and is used by the pharo oneclick package segfaults on my machine. I don't know the exact cause, but modifying the script to remove the call to padsp allows it to run correctly. I'll attach the output if you want, but I suspect it might be more appropriate to report it to the upstream devs.
_______________________________________________ Pharo-users mailing list Pharo-users@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users