On 11/07/2010 09:55 PM, Holger Hans Peter Freyther wrote:
Hi,
I am in a train and hope you excuse my laziness. I have selector like this
listen [
| con |
socket := Sockets.ServerSocket
port: port
bindTo: (Sockets.SocketAddress byName: addr).
[true] whileTrue: [
socket waitForConnection.
con := socket accept.
con close.
]
]
and this is silently on the GST shell when I CTRL+C and listen again. So the
old ServerSocket is still around when I create the new one.
Do you have a strace? It should raise an exception:
[(self
bind: fd
to: addr
addrLen: addr size) < 0 ifTrue: [File checkError: self soError]
ifCurtailed: [self close].
Paolo
_______________________________________________
help-smalltalk mailing list
help-smalltalk@gnu.org
http://lists.gnu.org/mailman/listinfo/help-smalltalk