posix-socket-0.3: Bindings to the POSIX socket API
System.Posix.Socket.Inet
Contents
Description
Internet address families.
Synopsis
data AF_INET Source #
IPv4 socket family.
Instances
Associated Types
type SockFamilyAddr AF_INET :: * Source #
Methods
sockFamilyCode :: Proxy * AF_INET -> CInt Source #
pattern AF_INET :: Proxy AF_INET Source #
data AF_INET6 Source #
IPv6 socket family.
type SockFamilyAddr AF_INET6 :: * Source #
sockFamilyCode :: Proxy * AF_INET6 -> CInt Source #
pattern AF_INET6 :: Proxy AF_INET6 Source #
sockAddrMaxSize :: Proxy * Inet4Addr -> Int Source #
sockAddrSize :: Inet4Addr -> Int Source #
peekSockAddr :: Ptr Inet4Addr -> Int -> IO Inet4Addr Source #
pokeSockAddr :: Ptr Inet4Addr -> Inet4Addr -> IO () Source #
sockAddrMaxSize :: Proxy * Inet6Addr -> Int Source #
sockAddrSize :: Inet6Addr -> Int Source #
peekSockAddr :: Ptr Inet6Addr -> Int -> IO Inet6Addr Source #
pokeSockAddr :: Ptr Inet6Addr -> Inet6Addr -> IO () Source #