Click to See Complete Forum and Search --> : NEEDED: code to generate IP/network statistics such as traffic, packets sent etc


cia
August 17th, 2000, 10:46 AM
I need code to generate statistics such as packets sent, received etc on a network. It should say what type of files (HTTP, RTP, UDP etc) are being sent and how busy the network is or any statistics along these lines. There are programs: IP monitor, IP watcher that do this but I need the code. Where can I get it?

PLEASE HELP URGENT

kirannapit
March 5th, 2004, 02:37 AM
Use WSAIoctl API from winsock2.0 with SIO_RCVALL option to receive all packets from network. Also initialise appropriate headers before receiving.
kiran

Andreas Masur
March 6th, 2004, 02:32 PM
[Moved thread]

Mathew Joy
March 8th, 2004, 01:29 AM
maybe this (http://www.codeguru.com/Cpp/I-N/network/tcpip/article.php/c5413) will help