
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/

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'. Best regards Tomasz
participants (2)
-
Joel Reymont
-
Tomasz Zielonka