On 09/27/2010 11:20 AM, Holger Hans Peter Freyther wrote:
in two different shells I do
1.) b := TCP.ServerSocket port: 6000 bindTo: TCP.IPAddress anyLocalAddress.
1.) b waitForConnection.
2.) s := TCP.Socket remote: TCP.IPAddress anyLocalAddress port: 6000.
1.) b accept.
1.) b close.
You mean "s close" here.
2.) s next. -> nil
[s next] on: SystemExceptions.EndOfStream do:
[ :e | 'end' printNl. e resume ]
->
'end'
nil
I have to check why "e resume: 'end'" doesn't work, but the behavior
seems right overall.
2.) s isOpen -> true.
This is a bug though.
Paolo
_______________________________________________
help-smalltalk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-smalltalk