[Javanetsim-cvs] IceScan/icesockets crawsocket.h, 1.6, 1.7 csocket.h, 1.8, 1.9
Status: Beta
Brought to you by:
darkkey
From: Alexander B. <da...@us...> - 2006-12-14 05:21:46
|
Update of /cvsroot/javanetsim/IceScan/icesockets In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv16556/icesockets Modified Files: crawsocket.h csocket.h Log Message: no message Index: crawsocket.h =================================================================== RCS file: /cvsroot/javanetsim/IceScan/icesockets/crawsocket.h,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** crawsocket.h 13 Dec 2006 20:06:32 -0000 1.6 --- crawsocket.h 14 Dec 2006 05:21:41 -0000 1.7 *************** *** 131,134 **** --- 131,141 ---- } + int shutdown(){ + return csocket::shutdown(); + } + + void close(){ + return csocket::close(); + } int send_tcp_raw( icestring source, icestring destination, unsigned short sport, unsigned short dport, unsigned long seq, Index: csocket.h =================================================================== RCS file: /cvsroot/javanetsim/IceScan/icesockets/csocket.h,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** csocket.h 13 Dec 2006 14:35:02 -0000 1.8 --- csocket.h 14 Dec 2006 05:21:41 -0000 1.9 *************** *** 212,220 **** // hints.ai_family = domain; // hints.ai_socktype = type; ! // ! // std::cout << "!!!!" << std::endl; // if( getaddrinfo(hostname, cport, &hints, &res) != 0 ) // return sockerror("getaddrinfo"); ! // // return ::sendto(sid, msg, len, flags, (const sockaddr *) res->ai_addr, res->ai_addrlen); --- 212,220 ---- // hints.ai_family = domain; // hints.ai_socktype = type; ! ! std::cout << "!!!!" << std::endl; // if( getaddrinfo(hostname, cport, &hints, &res) != 0 ) // return sockerror("getaddrinfo"); ! // return ::sendto(sid, msg, len, flags, (const sockaddr *) res->ai_addr, res->ai_addrlen); |