network accept bug

Don Stewart dons at
Wed May 20 09:16:23 EDT 2009

> I tried to file a bug ticket against this but the GHC trac doesn't seem to be
> quite working, so...
> It may be a known issue, but Network.accept doesn't appear to return the right
> port number on my 64-bit Linux box: it returns the server port rather than the
> client port.  The connection it returns seems to work fine.  On my 32-bit
> machines it works fine.  I've reproduced the problem with ghc-6.8.3 and
> ghc-6.10.1, and with network- and network- (I think; is hiding the
> older package sufficient to force use of the newer one?).
> Thanks much for any advice you might have.

I'll just emphasise that it is vital to file the bug: such packages are
in the Haskell Platform, so all have bug trackers associated.

-- Don

More information about the Libraries mailing list