UDP in network module
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.