Re: [Haskell-cafe] Re: Sockets get bound to wrong port on Windows

2010-06-03 Thread Matthias Reisner
Am 03.06.2010 07:34 schrieb Bardur Arantsson: On 2010-06-03 05:10, Matthias Reisner wrote: Hi, there's something wrong with port numbers in the Network.Socket module of package network. Printing values gives: *Main> PortNum 47138 *Main> PortNum 47138 Try (fromIntegral ) ::

[Haskell-cafe] Re: Sockets get bound to wrong port on Windows

2010-06-02 Thread Bardur Arantsson
On 2010-06-03 05:10, Matthias Reisner wrote: Hi, there's something wrong with port numbers in the Network.Socket module of package network. Printing values gives: *Main> PortNum 47138 *Main> PortNum 47138 Try (fromIntegral ) :: PortNumber (Yes, it's weird.) Cheers, Bardu