send package:network-simple

Writes a ByteString to the socket. Note: On POSIX, calling sendLazy once is much more efficient than repeatedly calling send on strict ByteStrings. Use sendLazy sock . fromChunks if you have more than one strict ByteString to send.
Writes a lazy ByteString to the socket. Note: This uses writev(2) on POSIX.
Deprecated: Use sendLazy sock . fromChunks