socket-0.2.0.0: A binding to the POSIX sockets interface

Safe HaskellNone
LanguageHaskell2010

System.Socket.Unsafe

Contents

Synopsis

unsafeSend

unsafeSend :: (Address a, Type t, Protocol p) => Socket a t p -> Ptr b -> CSize -> MsgFlags -> IO CInt Source

unsafeSendTo

unsafeSendTo :: (Address a, Type t, Protocol p) => Socket a t p -> Ptr b -> CSize -> MsgFlags -> Ptr a -> CInt -> IO CInt Source

unsafeRecv

unsafeRecv :: (Address a, Type t, Protocol p) => Socket a t p -> Ptr b -> CSize -> MsgFlags -> IO CInt Source

unsafeRecvFrom

unsafeRecvFrom :: (Address a, Type t, Protocol p) => Socket a t p -> Ptr b -> CSize -> MsgFlags -> Ptr a -> Ptr CInt -> IO CInt Source