Delta / NNN50_WIFI_API

Dependents:   NNN50_CE_Test_UDP NNN50_linux_firmware NNN50_SoftAP_HelloWorld NNN50_BLEWIFISensor ... more

Embed: (wiki syntax)

« Back to documentation index

tstrSocketAcceptMsg Struct Reference

tstrSocketAcceptMsg Struct Reference
[Asynchronous Events]

Socket accept status. More...

#include <socket.h>

Data Fields

SOCKET sock
struct sockaddr_in strAddr

Detailed Description

Socket accept status.

Socket accept information is returned through this structure in response to the asynchronous call to the accept function. This structure together with the event SOCKET_MSG_ACCEPT are passed-in parameters to the callback function.

Definition at line 743 of file socket.h.


Field Documentation

On a successful accept operation, the return information is the socket ID for the accepted connection with the remote peer. Otherwise a negative error code is returned to indicate failure of the accept operation.

Definition at line 745 of file socket.h.

Socket address structure for the remote peer.

Definition at line 749 of file socket.h.