Sample network server code

Ned Konz ned at bike-nomad.com
Mon Nov 25 17:17:06 UTC 2002


On Monday 25 November 2002 07:56 am, Markus Fritsche wrote:

> I'm searching the "didactically" best server. I want to write a
> simple, "listen and output strings" server (
> http://minnow.cc.gatech.edu/squeak/2926 ). I've read REPLServer,
> but it has some errors that I don't fully understand (I have to
> admit that I'm a newbie to network programming in squeak, but
> before I do something crappy, I want to learn something more about
> it). I found the SocketStream class, which should help me,
> shouldn't it?

It should. However, it's not in the base image.

Are you looking at the Comanche version, or at Michael's Network 
Rewrite version?

You might also look at ConnectionQueue for managing multiple 
connections.

And at Göran's SharedStreams.

And at Craig's Flow.

-- 
Ned Konz
http://bike-nomad.com
GPG key ID: BEEA7EFE




More information about the Squeak-dev mailing list