Closed lspitzner closed 8 years ago
Right. Indeed, Newtwork.Socket.ByteString
imports these functions.
I made a patch to fix this. Please check the patch above.
Looks good, thanks! (I'd maybe change the doc "s/in this module/in this section/" to make it clear, but i guess this is sufficient).
Network.Socket.ByteString
does not export any of these function though, right?
Sorry for the delay.
Looks good, thanks! (I'd maybe change the doc "s/in this module/in this section/" to make it clear, but i guess this is sufficient).
Fixed.
Network.Socket.ByteString does not export any of these function though, right?
I think you are right.
Thank you for your review. These patches have been merged.
Great!
All the
Buf
versions don't use anyString
s, e.g.sendBuf :: Socket -> Ptr Word8 -> Int -> IO Int
. So i guess the deprecation does not affect them. Either way, the warning should be made more clear (even if there is a higher-level interface planned for some point to replace all send/recv functions).