pr_familyinet.rst (427B)
1 PR_FamilyInet 2 ============= 3 4 Gets the value of the address family for Internet Protocol. 5 6 7 Syntax 8 ------ 9 10 .. code:: 11 12 #include <prnetdb.h> 13 14 PRUint16 PR_FamilyInet(void); 15 16 17 Returns 18 ~~~~~~~ 19 20 The value of the address family for Internet Protocol. This is usually 21 ``PR_AF_INET``, but can also be ``PR_AF_INET6`` if IPv6 is enabled. The 22 returned value can be assigned to the ``inet.family`` field of a 23 :ref:`PRNetAddr` object.