ByteString based datagram communication
|Reported by:||robreim||Owned by:|
|Type of failure:||Test Case:|
|Related Tickets:||Differential Rev(s):|
This patch adds ByteString datagram communication.
In the process it replaces the TCP based sendTo and recvFrom functions from the Network module with ByteString / datagram equivalents. Since sendTo and recvFrom seemed to be deprecated for anything more than superficial testing, the new versions would seem more useful.
It includes a fix to ensure Network.Socket.recvBufFrom and friends handle unix file sockets.
net003 has been included for testing the new features. I have only been able to test on GHC 6.6 on linux. Attempts to test with windows and hugs caused me issues I don't currently have time to deal with. If someone with these platforms can apply the patch and run the test case, I'd be very appreciative. I'll get onto any bugs discovered when I return.
I won't be available to guide this bug through for the next 9 days but wanted to get the proposal out there ready for when I get back.