nn::socket::AddrInfo Structure

Syntax

struct AddrInfo
{
   int         flags;
   int         family;
   int         sockType;
   int         protocol;
   unsigned    addrLen;
   char*       canonName;
   void*       addr;
   AddrInfo * next;
};

Description

A structure used with the GetAddrInfo function.

Member Variables

flags int Flags
family int The socket's address family.
sockType int The socket type.
protocol int The socket's protocol.
addrLen unsigned The size of the socket structure.
canonName char * The canonical name.
addr void * A pointer to the socket structure.
next AddrInfo * A pointer to the next AddrInfo. This is NULL at the end of a list.

Revision History

2010/11/10
Initial version.

CONFIDENTIAL