![]() |
AddPorts() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Public Function |
Declared in: TCPPortScanner.h |
void AddPorts( unsigned short usFromPort, unsigned short usToPort);
Add ports to scan
try { //Check we can insert them if (!(usFromPort && usToPort && usFromPort<=usToPort)) return; //Insert them ScanPair aData; aData.usFromPort=usFromPort; aData.usToPort=usToPort; //Lock CCriticalAutoRelease aRelease(m_pCSection,TRUE); m_aPortsToScan.push_back(aData); } ERROR_HANDLER("AddPorts")
![]() |
Site content copyright © 2003 Komodia LTD.. See the About page for additional notices. This page last updated: 24 Feb 2003. |