P6R::p6INetHelpers Interface Reference
[Runtime Interfaces]

Provides network helpers for managing byte-order and providing address conversions. More...

#include <p6runtimeif.h>

Inherits P6R::p6ICom.

List of all members.

Public Member Functions

virtual P6R::P6INT32 addref ()=0
 This method increases the reference count of the component instance by one.
virtual P6R::P6ERR host2nl (P6R::P6UINT32 nHostLong, P6R::P6UINT32 *pNetLong)=0
 This method is used convert a P6UINT32 from host byte-order into network byte-order.
virtual P6R::P6ERR host2nll (P6R::P6UINT64 nHostLong, P6R::P6UINT64 *pNetLong)=0
 This method is used convert a P6UINT64 from host byte-order into network byte-order.
virtual P6R::P6ERR host2ns (P6R::P6UINT16 nHostShort, P6R::P6UINT16 *pNetShort)=0
 This method is used convert a P6UINT16 from host byte-order into network byte-order.
virtual P6R::P6ERR net2hl (P6R::P6UINT32 nNetLong, P6R::P6UINT32 *pHostLong)=0
 This method is used convert a P6UINT32 from network byte-order into host byte-order.
virtual P6R::P6ERR net2hll (P6R::P6UINT64 nNetLong, P6R::P6UINT64 *pHostLong)=0
 This method is used convert a P6UINT64 from network byte-order into host byte-order.
virtual P6R::P6ERR net2hs (P6R::P6UINT16 nNetShort, P6R::P6UINT16 *pHostShort)=0
 This method is used convert a P6UINT16 from network byte-order into host byte-order.
virtual P6R::P6ERR netAddrToStr (const P6R::P6NETADDR *pAddr, P6R::P6CHAR *pBuffer, P6R::P6UINT32 *pcBuffer, P6R::P6BOOL bAddPort)=0
 Converts a P6NETADDR struct into a character string representation of the specified address.
virtual P6R::P6ERR netAddrToWStr (const P6R::P6NETADDR *pAddr, P6R::P6WCHAR *pBuffer, P6R::P6UINT32 *pcBuffer, P6R::P6BOOL bAddPort)=0
 Converts a P6NETADDR struct into a wide character string representation of the specified address.
virtual P6R::P6ERR queryInterface (const P6R::IID &iid, P6R::P6VOID **ppIface)=0
 This method queries the component for a specific interface.
virtual P6R::P6INT32 release ()=0
 This method decrements a components reference count.
virtual P6R::P6ERR strToNetAddr (const P6R::P6CHAR *pszAddr, P6R::P6NETADDR *pAddr)=0
 This method is used to convert an IP address string into a P6R::P6NETADDR.
virtual P6R::P6ERR wStrToNetAddr (const P6R::P6WCHAR *pwszAddr, P6R::P6NETADDR *pAddr)=0
 This method is used to convert a wide character IP address string into a P6R::P6NETADDR.

Detailed Description

Provides network helpers for managing byte-order and providing address conversions.

Definition at line 2370 of file p6runtimeif.h.


The documentation for this interface was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
Copyright © 2004 - 2010 P6R Inc. - All Rights Reserved.