#2103: Some functions in network library do not work on NetBSD
-------------------------------+--------------------------------------------
Reporter: iquiw | Owner:
Type: bug | Status: reopened
Priority: high | Milestone: 6.10.1
Component: libraries/network | Version: 6.8.3
Severity: major | Resolution:
Keywords: network | Difficulty: Unknown
Testcase: | Architecture: x86
Os: NetBSD |
-------------------------------+--------------------------------------------
Comment (by iquiw):
PortNum stores port number in network byte order internally.
So you can either
(1) get rid of PortNum constructor and use just "4444".
{{{
bindSocket s (SockAddrInet 4444 iNADDR_ANY)
}}}
or
(2) connect to port 23569 (= htons(4444) on x86 machine)
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2103#comment:11>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs