Re: [Haskell-cafe] Weird socket problem on Mac OS X

Hi Arnaud,
One thing you might want to try is to stop using the PortNumber data
constructor, and instead rely on 'fromInteger' to do the right thing.
The data constructor assumes that it's argument is in network byte order,
which won't always be the case.
It's not obvious that the constructor should be avoided - this is the second
time today I've seen this!
Take care,
Antoine
On Jun 3, 2010 5:13 PM, "Arnaud Bailly"
participants (1)
-
Antoine Latter