socket-0.1.0.0: A binding to the POSIX sockets interface
System.Socket.Internal.FFI
newtype MsgFlags Source
Constructors
Instances
c_socket :: CInt -> CInt -> CInt -> IO Fd Source
c_close :: Fd -> IO CInt Source
c_bind :: Fd -> Ptr a -> CInt -> IO CInt Source
c_connect :: Fd -> Ptr a -> CSize -> IO CInt Source
c_accept :: Fd -> Ptr a -> Ptr CInt -> IO Fd Source
c_listen :: Fd -> CInt -> IO CInt Source
c_send :: Fd -> Ptr a -> CSize -> MsgFlags -> IO CInt Source
c_sendto :: Fd -> Ptr a -> CSize -> MsgFlags -> Ptr b -> CInt -> IO CInt Source
c_recv :: Fd -> Ptr a -> CSize -> MsgFlags -> IO CInt Source
c_recvfrom :: Fd -> Ptr a -> CSize -> MsgFlags -> Ptr b -> Ptr CInt -> IO CInt Source
c_getsockopt :: Fd -> CInt -> CInt -> Ptr a -> Ptr Int -> IO CInt Source
c_setnonblocking :: Fd -> IO CInt Source