EvilZone
Programming and Scripting => C - C++ => : avahdon November 27, 2013, 12:04:41 AM
-
hi, i am reading the source code if zeus botnet, and i saw an include of <ws2tcpip.h>, and I read in the net the it require a <winsock2.h> but I don't see any #include <winsock2.h> in the zeus botnet source. I am wondering how do they do it. Thanks
-
Well I don't know much of C++, but I know enough to consummate that include is similar to import in Java. It is possible that ws2tcpip.h include winsock2.h. I know that .h's are header files but I don't know if you can use includes in them, so maybe it does so in the cpp file.
This is a complete guess, take it with a grain of salt. I suggest you research the subject.
-
hi, i am reading the source code if zeus botnet, and i saw an include of <ws2tcpip.h>, and I read in the net the it require a <winsock2.h> but I don't see any #include <winsock2.h> in the zeus botnet source. I am wondering how do they do it. Thanks
They're pretty close to equivalent. ws2tcpip includes winsock. Win Sock includes a bunch of Socket based stuff including TCP functions. ws2tcpip also includes a bunch of stuff related to TCP functions, hence "tcpip" as in TCP/IP