Getting the number of packets received / sent
-
I wish to write a program to get the number of bytes/packets being received / sent over an NIC (standard ethernet card). Are there any inbuilt functions / libraries in the standard c/c++ library to this? If not, are there any external libraries to do so? Nikhil
-
I wish to write a program to get the number of bytes/packets being received / sent over an NIC (standard ethernet card). Are there any inbuilt functions / libraries in the standard c/c++ library to this? If not, are there any external libraries to do so? Nikhil
Nikhil Wason wrote: Are there any inbuilt functions / libraries in the standard c/c++ library to this? Yes, loop for IpHelper Api's Nikhil Wason wrote: are there any external libraries to do so? Sure, here it is http://www.winpcap.org/[^]
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers, Alok Gupta
-
Nikhil Wason wrote: Are there any inbuilt functions / libraries in the standard c/c++ library to this? Yes, loop for IpHelper Api's Nikhil Wason wrote: are there any external libraries to do so? Sure, here it is http://www.winpcap.org/[^]
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers, Alok Gupta
Jesus ! You seem very agile with your nose today :laugh:
-
Jesus ! You seem very agile with your nose today :laugh:
cedric moonen wrote: You seem very agile with your nose today Nope, As you have lost control, i started using my hand again :)
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers, Alok Gupta
-
cedric moonen wrote: You seem very agile with your nose today Nope, As you have lost control, i started using my hand again :)
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers, Alok Gupta
Hi, You can also use WMI (Windows Management Intruments) objects for this monitoring. It provides all the features, in terms of objects. It is very is use and work.. Please check with MSDN with Win32_NetworkAdapterConfiguration section. IT will help you a lot.. Thanks & Regards Gopalakrishnan " Action without vision is only passing time, Vision without action is merely day dreaming, But vision with action can change the world " - Words from Nelson Mandela Thanks & Regards, Gopalakrishnan
-
Hi, You can also use WMI (Windows Management Intruments) objects for this monitoring. It provides all the features, in terms of objects. It is very is use and work.. Please check with MSDN with Win32_NetworkAdapterConfiguration section. IT will help you a lot.. Thanks & Regards Gopalakrishnan " Action without vision is only passing time, Vision without action is merely day dreaming, But vision with action can change the world " - Words from Nelson Mandela Thanks & Regards, Gopalakrishnan
HI Gopal, By Mistake, you a make post to wrong person!, Please post it again to right Guy. Thanks
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers, Alok Gupta