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

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

static char FAR * LongToString(
    long lAddr);

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

Convert long to string

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

try
{
    //Enter the critical section
    m_pCSection->Enter();

    //First create the address
    in_addr addr;

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

    //Return the value
    char FAR * pAddr;
    pAddr=inet_ntoa(addr);

    //Exit the critical section
    m_pCSection->Exit();

    return pAddr;
}
ERROR_HANDLER_STATIC("CSpoofBase","LongToString")

//Exit the critical section
m_pCSection->Exit();

return NULL;

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

Class Overview Class Overview  |  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 © 2001 Barak Weichselbaum. See the About page for additional notices. This page last updated: 27 Jun 2001.