Network.Socket endian problem?
Thorkil Naur
naur at post11.tele.dk
Wed Dec 13 17:45:44 EST 2006
Hello,
It appears that you already got an answer to your question that I hope you can
use. So just for completeness: On my PPC Mac OS X 10.4, both ghc-6.4.1 and
ghc-6.6 produce results similar to the one you report for OSX. And on my Suse
Linux, both ghc-6.4.1 and ghc-6.6 produce results ("wrong") similar to the
one you report for your Linux/i386. So nothing indicates that this is a
problem caused by differences between ghc versions.
Best regards
Thorkil
On Wednesday 13 December 2006 22:04, Rich Neswold wrote:
> ...
> If you run the program on OSX, you can check the bound address while
> it's waiting for a keystroke. Type "netstat -an -f inet | grep 6802"
> to see. I get:
>
> udp4 0 0 127.0.0.1.61704 127.0.0.1.6802
>
> which is correct. When I run this program on Linux/i386, I get:
>
> udp 0 0 (anonymized):33412 1.0.0.127:6802
> ESTABLISHED
...
More information about the Glasgow-haskell-users
mailing list