![]() |
GetPortStart() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
| Private Function |
Declared in: RealTimeTraceRouteSocket.h |
Declarationstatic unsigned short GetPortStart();
DescriptionAllocate start of ID range
Function Body
try
{
//Lock the global CS
CCriticalAutoRelease aRelease(CSpoofBase::GetGlobalCriticalSection(),TRUE);
//Take the data
unsigned short usPort;
usPort=m_sPortStart;
//Increment it
++m_sPortStart;
//Did we exceed ?
if (m_sPortStart>=65000)
m_sPortStart=0;
//Done
return usPort;
}
ERROR_HANDLER_STATIC_RETURN(CRealTimeTraceRouteSocket_Class,"GetPortStart",0)
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. |