socket-0.1.0.0: A binding to the POSIX sockets interface

Safe HaskellSafe
LanguageHaskell2010

System.Socket.Internal.FFI

Documentation

newtype MsgFlags Source

Constructors

MsgFlags CInt 

c_bind :: Fd -> Ptr a -> CInt -> IO CInt Source

c_accept :: Fd -> Ptr a -> Ptr CInt -> IO Fd 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