PEER_PNRP_ENDPOINT_INFO structure (p2p.h)

The PEER_PNRP_ENDPOINT_INFO structure contains the IP addresses and data associated with a peer endpoint.

Syntax

typedef struct peer_pnrp_endpoint_info_tag {
  PWSTR     pwzPeerName;
  ULONG     cAddresses;
  SOCKADDR  **ppAddresses;
  PWSTR     pwzComment;
  PEER_DATA payload;
} PEER_PNRP_ENDPOINT_INFO, *PPEER_PNRP_ENDPOINT_INFO;

Members

pwzPeerName

The peer name associated with this peer endpoint.

cAddresses

The number of SOCKADDR structures in pAddresses.

ppAddresses

Pointer to an array of pointers to SOCKADDR structures that contain the IP addresses for the peer endpoint's network interface.

pwzComment

Pointer to a zero-terminated Unicode string that contains a comment for this peer endpoint.

payload

Pointer to a PEER_DATA structure that contains application-specific data for the peer endpoint (such as a message or an image).

Requirements

Requirement Value
Minimum supported client Windows XP with SP2 [desktop apps only],Windows XP with SP1 with the Advanced Networking Pack for Windows XP
Minimum supported server Windows Server 2008 [desktop apps only]
Header p2p.h