Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


Trace the network packets

Posted on 2003-11-05
Medium Priority
Last Modified: 2010-04-15
I am trying to write a program which would trace the statistics of the bandwidth  usage , the no. of packets lost , the no. of packets sent and recieved over the network from one IP to another IP , when I am conducting Videoconferencing using NetMeeting .

Are there any C builtin functions for this?


Question by:janu_s
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Accepted Solution

mtmike earned 200 total points
ID: 9688896
There are no standard functions, but take a look at libpcap:

And winpcap:

Expert Comment

ID: 9689123
Also remember, any packet capturing on host might severely affect performance for high bandwidth applications based on CPU-Power to Bandwidth needed ratio.

The idea scenario will be to use a tap in the middle of the hosts to snoop on packets at physical level.

Other option is to use a switch in between and using the switch statistics to calculate the bandwidth. All mediam to high end switches will have some kind of SNMP/RMON interface to get info like packets transferred.

Expert Comment

ID: 9722084
do you work on Linux or windows?

Author Comment

ID: 9734504
I am using Winodws

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

An Outlet in Cocoa is a persistent reference to a GUI control; it connects a property (a variable) to a control.  For example, it is common to create an Outlet for the text field GUI control and change the text that appears in this field via that Ou…
Examines three attack vectors, specifically, the different types of malware used in malicious attacks, web application attacks, and finally, network based attacks.  Concludes by examining the means of securing and protecting critical systems and inf…
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use for-loops in the C programming language.
The goal of this video is to provide viewers with basic examples to understand how to create, access, and change arrays in the C programming language.

715 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question