#include <nitroWiFi/cps.h>
CPSInAddr CPS_SocWho (u16 *remote_port, CPSInAddr *local_ip);
remote_port |
Partner's port |
local_ip |
Own IPv4 address that is the actual send target the partner uses |
The partner's IPv4 address.
Gets information about the communication partner. Returns the partner's IPv4 address as the return value. If remote_port
is not NULL, the partner’s port is set. If local_ip
is not NULL, the function sets its own IPv4 address, which is the actual send target the partner uses. This provides a method to differentiate between unicast and multicast. Does not block.
10/21/2005 Initial version.