6.2.3.7 accept

The accept function is deprecated and calling this API has no effect. It is kept only for backward compatibility.

Note: The listen API implicitly accepts the TCP remote peer connections request.
Figure 6-2. TCP Server API Call Sequence

Although the accept function is deprecated, the SOCKET_MSG_ACCEPT event occurs whenever a remote host connects to the ATWINC15x0 TCP server. The event message contains the IP address and port number of the connected remote host.