WINC1500 IoT Software APIs: tstrSocketAcceptMsg Struct Reference

WINC1500 IoT Software API

WINC1500 IoT Software APIs  19.5.2
WINC Software API Reference Manual
tstrSocketAcceptMsg Struct Reference

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.

Field Documentation

◆ sock

SOCKET sock

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.

◆ strAddr

struct sockaddr_in strAddr

Socket address structure for the remote peer.

Generated on Thu Jan 26 2017 22:15:21 for WINC1500 IoT Software APIs by   doxygen 1.8.13