Socket recv status. More...
#include <socket.h>
Public Attributes | |
uint8 * | pu8Buffer |
sint16 | s16BufferSize |
struct sockaddr_in | strRemoteAddr |
uint16 | u16RemainingSize |
Socket recv status.
It is passed to the APPSocketEventHandler with SOCKET_MSG_RECV or SOCKET_MSG_RECVFROM message type in a response to a user call to the recv or recvfrom. If the received data from the remote peer is larger than the USER Buffer size (given at recv call), the data is delivered to the user in a number of consecutive chunks according to the USER Buffer size.
Socket receive information is returned through this structure in response to the asynchronous call to the recv or recvfrom socket functions. This structure together with the events SOCKET_MSG_RECV or SOCKET_MSG_RECVFROM are passed-in parameters to the callback function.
uint8* tstrSocketRecvMsg::pu8Buffer |
sint16 tstrSocketRecvMsg::s16BufferSize |
struct sockaddr_in tstrSocketRecvMsg::strRemoteAddr |
Socket address structure for the remote peer. It is valid for SOCKET_MSG_RECVFROM event.
uint16 tstrSocketRecvMsg::u16RemainingSize |