#3868: UDP in network module
--------------------------------+-------------------------------------------
Reporter: guest | Owner:
Type: feature request | Status: new
Priority: normal | Component: libraries (other)
Version: 6.12.1 | Keywords:
Os: Linux | Testcase:
Architecture: x86 | Failure: None/Unknown
--------------------------------+-------------------------------------------
The Network module (at least in 6.10.4) doesn't seem to have any way of
creating UDP sockets, requiring using a combination of Network.Socket and
Network.BSD, which are quite low level and whose docs are rather sparse.
It would be useful if the higher level module also supported UDP. Also,
the PortNum constructor in Network.Socket requires the port number in
network byte order, i.e. on the x86 you have to byte-swap the PortNum arg.
It would save a bit of confusion if (at minimum) the Haddock docs
mentioned this.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3868>
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