virtual P6R::P6ERR P6R::p6INetHelpers::wStrToNetAddr ( const P6R::P6WCHAR *  pwszAddr,
P6R::P6NETADDR *  pAddr 
) [pure virtual]

This method is used to convert a wide character IP address string into a P6R::P6NETADDR.

Parameters:
pwszAddr A pointer to an P6WCHAR string representing the IP address.
IPv4 This must be in the standard dotted-quad notation and can have an optional port appended with a colun. For example: "1.2.3.4" or "1.2.3.4:110"
IPv6 Currently not implemented.
pAddr A pointer to an P6R::P6NETADDR in which the converted address information will be placed.
Returns:
SuccessP6R::eOkSuccess.
FailureP6R::eInvalidArgpwszAddr or pAddr is NULL
P6R::eFormatErrorThe string passed in pwszAddr is not in the correct format and could not be converted.
P6R::eTooBigThe string passed in pwszAddr is too long to be an IP address string.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
Copyright © 2004 - 2010 P6R Inc. - All Rights Reserved.