Copyright | Will Thompson, Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
Structure used for scatter/gather data output when sending multiple messages or packets in one go. You generally pass in an array of #GOutputVectors and the operation will use all the buffers as if they were one buffer.
If @address is %NULL then the message is sent to the default receiver (as previously set by g_socket_connect()).
- newtype OutputMessage = OutputMessage (ForeignPtr OutputMessage)
- noOutputMessage :: Maybe OutputMessage
- outputMessageReadAddress :: OutputMessage -> IO SocketAddress
- outputMessageReadBytesSent :: OutputMessage -> IO Word32
- outputMessageReadNumControlMessages :: OutputMessage -> IO Word32
- outputMessageReadNumVectors :: OutputMessage -> IO Word32
- outputMessageReadVectors :: OutputMessage -> IO OutputVector