[Haskell-cafe] Socket finalizers
tomasz.zielonka at gmail.com
Thu Nov 3 15:26:02 EST 2005
On Thu, Nov 03, 2005 at 05:45:10PM +0000, Joel Reymont wrote:
> I'm running a bunch of "poker bots" from ghci and although I'm
> calling hClose on the socket handle, it does not seem to actually
> close when my bots finish. I need to exit ghci for the sockets to close.
If these are listening sockets, make sure you did 'setSocketOption
socket ReuseAddr 1'.
More information about the Haskell-Cafe