virtual P6R::P6ERR P6R::p6INetHelpers::host2ns ( P6R::P6UINT16  nHostShort,
P6R::P6UINT16 *  pNetShort 
) [pure virtual]

This method is used convert a P6UINT16 from host byte-order into network byte-order.

Parameters:
nHostShort The P6UINT16 to convert.
pNetShort A pointer to a P6UINT16 in which to store the converted value.
Returns:
SuccessP6R::eOkSuccess.
FailureP6R::eInvalidArgpNetShort is NULL
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
Copyright © 2004 - 2010 P6R Inc. - All Rights Reserved.