[Haskell-cafe] Socket finalizers

Joel Reymont joelr1 at gmail.com
Thu Nov 3 12:45:10 EST 2005


Folks,

I remember a message about this recently and tried googling for it  
but came up empty.

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.

How can I tackle this problem? It's important for me that the sockets  
close when I call hClose .

	Thanks, Joel

--
http://wagerlabs.com/







More information about the Haskell-Cafe mailing list