network
network copied to clipboard
Low-level networking interface
I have some old code not written by me, calling `Network.connectTo :: HostName -> PortID -> IO Handle` from `network
While using the `network-3.1.4.0` library in `OSX 13.5.2`, I encountered an exception when attempting to set the `UserTimeout` socket option using the `setSocketOption` function. Here's the relevant code snippet: ```haskell...
May I add TCP_KEEPIDLE, TCP_KEEPINTVL and TCP_KEEPCNT to use in conjunction with SO_KEEPALIVE?
The [docs for SCM_RIGHTS](https://www.man7.org/linux/man-pages/man7/unix.7.html) suggest that multiple file descriptors can be sent in one control message: > SCM_RIGHTS > Send or receive a set of open file descriptors from >...
Similar to https://github.com/haskell/network/pull/517. But the triple for the official GHC backend is `javascript-unknown-ghcjs`. Since the host name is the same, https://github.com/haskell/network/pull/431 should still apply. This builds, but I haven't been...
### Context: `recvfrom()` stores the source address of a received package in the `sockaddr` structure pointed to by the `address` pointer and the length of the address is stored in...
Closes #545, see discussion there. Basically, this is the documentation that I think would have helped me a few days ago. I'm very much open to changing all it. The...
Heya, Disclaimer: I'm still figuring this stuff out, so it might be obvious for some of you. That would actually be cool, because then documenting it should be easy :)...
I'm trying to `stack build` a project and I am getting this error: ``` network > configure: error: cannot run //home/jeffhappily/Programming/my-server/stack-26498c94b43ec990/network-3.1.4.0/config.sub ``` Here's my stack and ghc version. ``` $...