Update of /cvsroot/javanetsim/IceScan
In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv32107
Modified Files:
csubtarget.h
Log Message:
no message
Index: csubtarget.h
===================================================================
RCS file: /cvsroot/javanetsim/IceScan/csubtarget.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** csubtarget.h 12 Dec 2006 19:59:15 -0000 1.6
--- csubtarget.h 12 Dec 2006 20:07:50 -0000 1.7
***************
*** 48,54 ****
iceparams *par;
! char *hostname;
! char *reversed_hostname;
ice_service_name_database *isnd;
--- 48,54 ----
iceparams *par;
! icestring hostname;
! icestring reversed_hostname;
ice_service_name_database *isnd;
***************
*** 150,153 ****
--- 150,154 ----
DBGOUTPUT("!!!");
std::map <int, scanning_port> scanning_ports;
+ DBGOUTPUT("!!!");
init_scanning_ports(hostname, par, (int) SOCK_STREAM, scanning_ports);
***************
*** 159,163 ****
int j = initiate_connect(scanning_ports);
! //DBGOUTPUT(j);
while( ! do_select_round(scanning_ports, subtarget_ports) ) usleep(1000);
--- 160,164 ----
int j = initiate_connect(scanning_ports);
! DBGOUTPUT(j);
while( ! do_select_round(scanning_ports, subtarget_ports) ) usleep(1000);
***************
*** 244,249 ****
--- 245,253 ----
int j;
+
for(i = scanning_ports.begin(); i!= scanning_ports.end(); ++i){ //check FD_SET
+ DBGOUTPUT((*i).first);
if((*i).second.socket_ptr != -1){
+ DBGOUTPUT("!!!!!");
j = (*i).second.socket_ptr;
csocket c(AF_INET, scan_sockets[j].domain, scan_sockets[j].sid);
***************
*** 256,260 ****
(*i).second.time = time(0);
int rc = c.connect((*i).second.hostname, (*i).first, 0);
!
}
}
--- 260,264 ----
(*i).second.time = time(0);
int rc = c.connect((*i).second.hostname, (*i).first, 0);
! DBGOUTPUT("!!!!!");
}
}
|