#1238: ByteString based datagram communication
----------------------------------+-----------------------------------------
Reporter: robreim | Owner:
Type: proposal | Status: new
Priority: normal | Milestone: Not GHC
Component: libraries/network | Version: 6.6
Severity: normal | Keywords:
Difficulty: Unknown | Testcase:
Architecture: Unknown | Os: Unknown
----------------------------------+-----------------------------------------
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.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1238>
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