![]() |
LongToString() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
| Public Function |
Declared in: SpoofBase.h |
Declaration
static char FAR * LongToString(
long lAddr);
DescriptionConvert long to string
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
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. |