#include <cat.h>
int cat_send(cat_session *session, int fd_id, cat_buffer *buffer);
The fd_id must be one of CAT_CLIENT_WFD
or
CAT_SERVER_WFD
.
If used from within a filter, only the filters below will be invoked.
CAT_OK
if successful, or a negative error code otherwise.