Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Setters for assigning fields of struct addrinfo
:
struct addrinfo { int ai_flags; int ai_family; int ai_socktype; int ai_protocol; socklen_t ai_addrlen; struct sockaddr *ai_addr; char *ai_canonname; struct addrinfo *ai_next; };
Synopsis
- flags :: Ptr AddressInfo -> AddressInfoFlags -> IO ()
- family :: Ptr AddressInfo -> Family -> IO ()
- socketType :: Ptr AddressInfo -> Type -> IO ()
- protocol :: Ptr AddressInfo -> Protocol -> IO ()
- addressLength :: Ptr AddressInfo -> CInt -> IO ()
- address :: Ptr AddressInfo -> Ptr SocketAddress -> IO ()
- next :: Ptr AddressInfo -> Ptr AddressInfo -> IO ()
Documentation
socketType :: Ptr AddressInfo -> Type -> IO () Source #
Get ai_socktype
.
addressLength :: Ptr AddressInfo -> CInt -> IO () Source #
Get ai_addrlen
.
address :: Ptr AddressInfo -> Ptr SocketAddress -> IO () Source #
Get ai_addr
.
next :: Ptr AddressInfo -> Ptr AddressInfo -> IO () Source #
Get ai_next
.