Class CSpoofBase::
LongToStdString()
Base ClassesData ItemsConstructorsDestructorsFunctionsCustom CodeGo to hierarchy chart    Prev page: IsMultiThreadedNext page: LongToString    Show member index
Public Function Declared in:
SpoofBase.h

'Declaration' icon -- Shortcut to top of page. Declaration

static std::string LongToStdString(
    unsigned long ulAddr);

'Description' icon -- Shortcut to top of page. Description

Convert long to string but as a standard string (thread safe)

'Function Body' icon -- Shortcut to top of page. Function Body

try
{
    //First create the address
    in_addr addr;

    //Assign it
    addr.S_un.S_addr=ulAddr;

    //Enter the critical section
    CCriticalAutoRelease aRelease(m_pCSection);

    //Return the value
    return inet_ntoa(addr);
}
ERROR_HANDLER_STATIC_RETURN(CSpoofBase_Class,"LongToStdString","0.0.0.0")

'See Also' icon -- Shortcut to top of page. See Also

Class Overview Class Overview  |  Public base class CErrorHandler  |  Hierarchy Chart Hierarchy Chart


Get Surveyor!This web site was generated using Surveyor V4.50.811.1.  Click here for more information. Site content copyright © 2003 Komodia LTD.. See the About page for additional notices. This page last updated: 24 Feb 2003.