![]() |
GetPortStart() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Private Function |
Declared in: RealTimeTraceRouteSocket.h |
static unsigned short GetPortStart();
Allocate start of ID range
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)
![]() |
Site content copyright © 2003 Komodia LTD.. See the About page for additional notices. This page last updated: 24 Feb 2003. |