gre_io_send

int gre_io_send(
    gre_io_t *                  handle,  
    gre_io_serialized_data_t *  buffer  
)
            

Send a serialized event buffer to a channel. In order to send events, the handle must have been opened for writing using GRE_IO_WRONLY.


Parameters:
        handle  A valid handle created with gre_io_open()  
        buffer  A data buffer containing a serialized event  

Returns:
         -1 on failure otherwise success.