Tags: infinity0/network
Tags
Version 3.1.1.0 * A new API: `gracefulClose`. [haskell#417](haskell#417) * `touchSocket`, `unsafeFdSocket`: Allow direct access to a socket's file descriptor while providing tools to prevent it from being garbage collected. This also deprecated `fdSocket` in favor of `unsafeFdSocket` and `withFdSocket`. [haskell#423](haskell#423) * `socketToFd`: Duplicates a socket as a file desriptor and closes the source socket. [haskell#424](haskell#424)
Version 3.1.0.1 * getAddrInfo: raise exception if no AddrInfo returned. [haskell#410](haskell#410) * Avoid catching SomeException. [haskell#411](haskell#411)
Version 3.1.0.0 * Making GC of socket safer. [haskell#399](haskell#399) * Deprecating fdSocket. Use withFdSocket instead to ensure that sockets are GCed in proper time. [haskell#399](haskell#399)
Version 2.8.0.1 * Eensuring that accept returns a correct sockaddr for unix domain. [haskell#400](haskell#400) * Avoid out of bounds writes in pokeSockAddr. [haskell#400](haskell#400)
Version 3.0.1.1 * Fix blocking `if_nametoindex` errors on Windows [haskell#391](haskell#391)
Version 3.0.1.0 * Added `getSocketType :: Socket -> IO SocketType`. [haskell#372](haskell#372) * Correcting manual and brushing up test cases [haskell#375](haskell#375) * Fixed longstanded bug in `getContents` on mac [haskell#375](haskell#375) * Fixing regression: set correct sockaddr length for abstract addresses for Linux. [haskell#374](haskell#374)
Version 3.0.0.1 * Fixed a bug in `connect` where exceptions were not thrown [haskell#368](haskell#368)
Version 3.0.0.0 * Breaking change: the Network and Network.BSD are removed. Network.BSD is provided a new package: network-bsd. * Breaking change: the signatures are changed: ``` old fdSocket :: Socket -> CInt new fdSocket :: Socket -> IO CInt old mkSocket :: CInt -> Family -> SocketType -> ProtocolNumber -> SocketStatus -> IO Socket new mkSocket :: CInt Socket ``` * Breaking change: the deprecated APIs are removed: send, sendTo, recv, recvFrom, recvLen, htonl, ntohl, inet_addr, int_ntoa, bindSocket, sClose, SocketStatus, isConnected, isBound, isListening, isReadable, isWritable, sIsConnected, sIsBound, sIsListening, sIsReadable, sIsWritable, aNY_PORT, iNADDR_ANY, iN6ADDR_ANY, sOMAXCONN, sOL_SOCKET, sCM_RIGHTS, packSocketType, getPeerCred. * Breaking chage: SockAddrCan is removed from SockAddr. * Socket addresses are extendable with Network.Socket.Address. * "socket" is now asynchronous-exception-safe. [haskell#336](haskell#336) * "recvFrom" returns (0, addr) instead of throwing an error on EOF. [haskell#360](haskell#360) * All APIs are available on any platforms. * Build system is simplified. * Bug fixes.
Version 2.7.0.2 * Removing withMVar to avoid the deadlock between "accept" and "close" [haskell#330](haskell#330) * "close" does not throw exceptions. A new API: "close'" throws exceptions when necessary. [haskell#337](haskell#337) * Fixing the hang of lazy sendAll. [haskell#340](haskell#340) * Installing NetDef.h (haskell#334) [haskell#334](haskell#334)
PreviousNext