st> MUD.MUDServer new port: 4321; start!
'register server socket'
'waiting for connection'
MUDServer new "<0xb3d54b10>"
now `telnet localhost 4321` - but nothing happens, if you type
something - the accept is blocked by console, besides using
forkAt: - now type something in smalltalk :
Ah yes, that's known. It is not a bug, but more of a missing feature:
the console blocks the processes, but it will work as usual if, for
example, you add a
Processor activeProcess suspend
or, better, add to MUDServer a #wait method that suspends the current
process until a method (#close maybe) is called -- maybe with a semaphore.
The mailing list archive has a sketch of how to fix this.
Paolo
_______________________________________________
help-smalltalk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-smalltalk