![]() |
TraceRoute() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
| Public Function |
Declared in: TraceRouteSocket.h |
Declaration
virtual BOOL TraceRoute(
IP aDestinationAddress,
DWORD dwTimeout,
unsigned char ucTTL=30);
Function Body
try
{
if (!m_bTraceDone)
return FALSE;
//Starting TTL
m_ucTTL=1;
//Max TLL
m_ucMaxTTL=ucTTL;
//Trace not done
m_bTraceDone=FALSE;
//Clear the data
m_aData.clear();
//Save the timeout
m_dwTimeout=dwTimeout;
//Save the address
m_aFinalAddress=aDestinationAddress;
//And ping
return Ping(aDestinationAddress,
dwTimeout);
}
ERROR_HANDLER_RETURN("TraceRoute",FALSE)
See Also
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. |