![]() |
LongToStdString() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Public Function |
Declared in: SpoofBase.h |
static std::string LongToStdString( unsigned long ulAddr);
Convert long to string but as a standard string (thread safe)
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")
![]() |
Site content copyright © 2003 Komodia LTD.. See the About page for additional notices. This page last updated: 24 Feb 2003. |