Mozilla.com

Table of contents
  1. 1. Syntax
  2. 2. Returns

PR_FamilyInet

Table of contents
  1. 1. Syntax
  2. 2. Returns

< NSPR API Reference < I/O Functions

Gets the value of the address family for Internet Protocol.

Syntax

#include <prnetdb.h> 

PRUint16 PR_FamilyInet(void);

Returns

The value of the address family for Internet Protocol. This is usually PR_AF_INET, but can also be PR_AF_INET6 if IPv6 is enabled. The returned value can be assigned to the inet.family field of a PRNetAddr object.

Page last modified 02:02, 26 Apr 2006 by Rappo

Files (0)