Safe Haskell | None |
---|---|
Language | Haskell2010 |
- socketIOCallbacks :: Socket -> IO SocketIOCallbacks
- data SocketIOCallbacks
- socket_SS :: Lens' SocketIOCallbacks Socket
- class HasSocketPeer a where
- getSocketPeerAddress :: a -> IO SockAddr
- data SomeHasSocketPeer where
- SomeHasSocketPeer :: HasSocketPeer a => a -> SomeHasSocketPeer
Documentation
socketIOCallbacks :: Socket -> IO SocketIOCallbacks
This function wraps an active socket (e.g., one where it is possible to send and receive data) in something with a set of active callbacks
data SocketIOCallbacks
IOCallbacks around an active socket
class HasSocketPeer a where
getSocketPeerAddress :: a -> IO SockAddr
data SomeHasSocketPeer where
SomeHasSocketPeer :: HasSocketPeer a => a -> SomeHasSocketPeer |