cs_recv_from_ctrl_sock() function
Receive data from control socket This API receives any data that was sent to the control socket. This will be typically called from the server thread to process any commands on this socket.
Syntax
int cs_recv_from_ctrl_sock(int fd,
void *data,
unsigned int data_len);
Arguments
fd
the socket descriptor of the control socket
data
pointer to a buffer that will be used to store received from the control socket
data_len
the maximum length of the data that can be stored in the buffer pointed by data
Return value
- the number of bytes received from the control socket - an error code if less than zero
![]()
int cs_recv_from_ctrl_sock(int fd, void *data, unsigned int data_len);
cs_recv_from_ctrl_sock() calls 1 function:
![]()
cs_recv_from_ctrl_sock()
cs_recv_from_ctrl_sock():
![]()
cs_recv_from_ctrl_sock()