[Javanetsim-cvs] IceScan iceparams.h, 1.12, 1.13 nbt_wrapper.h, 1.4, 1.5 icescan.cc, 1.29, 1.30
Status: Beta
Brought to you by:
darkkey
From: Alexander B. <da...@us...> - 2006-12-16 17:29:20
|
Update of /cvsroot/javanetsim/IceScan In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv1926 Modified Files: iceparams.h nbt_wrapper.h icescan.cc Log Message: no message Index: icescan.cc =================================================================== RCS file: /cvsroot/javanetsim/IceScan/icescan.cc,v retrieving revision 1.29 retrieving revision 1.30 diff -C2 -d -r1.29 -r1.30 *** icescan.cc 16 Dec 2006 17:14:15 -0000 1.29 --- icescan.cc 16 Dec 2006 17:29:16 -0000 1.30 *************** *** 300,305 **** int main(int argc, char *argv[]){ - - init_rand(); ice_service_name_database isnd("services"); --- 300,303 ---- *************** *** 317,320 **** --- 315,324 ---- time_t rawtime; + WSA_DATA wsa; + + wsa = start_sockets(); + + init_rand(); + time(&rawtime); *************** *** 352,355 **** --- 356,361 ---- out << "IceScan finished: " << ts.subtargets_count() << " IP address(es) (" << ts.up_subtargets_count() << " host(s) up) processed in " << timeb_diff(tp1, tp2) << " seconds." << iceoutput::endl; + stop_sockets(); + return 0; } Index: iceparams.h =================================================================== RCS file: /cvsroot/javanetsim/IceScan/iceparams.h,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** iceparams.h 16 Dec 2006 14:44:56 -0000 1.12 --- iceparams.h 16 Dec 2006 17:29:16 -0000 1.13 *************** *** 125,129 **** const int ranges_cnt = 2; ! int ranges[ranges_cnt][2] = { {20, 25}, {130, 200} }; //int ranges[ranges_cnt][2] = { {1, 1024}, {3388, 3390} }; --- 125,129 ---- const int ranges_cnt = 2; ! int ranges[ranges_cnt][2] = { {20, 25}, {130, 140} }; //int ranges[ranges_cnt][2] = { {1, 1024}, {3388, 3390} }; Index: nbt_wrapper.h =================================================================== RCS file: /cvsroot/javanetsim/IceScan/nbt_wrapper.h,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** nbt_wrapper.h 15 Dec 2006 16:24:58 -0000 1.4 --- nbt_wrapper.h 16 Dec 2006 17:29:16 -0000 1.5 *************** *** 3,6 **** --- 3,7 ---- #include <sys/types.h> + #include <sys/time.h> #define NBT_MSGSIZE 1024 |