Solved

Trace the network packets

Posted on 2003-11-05
4
359 Views
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?

Thanks.

Janu
0
Comment
Question by:janu_s
[X]
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
4 Comments
 
LVL 5

Accepted Solution

by:
mtmike earned 50 total points
ID: 9688896
There are no standard functions, but take a look at libpcap:
http://www.tcpdump.org/

And winpcap:
http://winpcap.polito.it/misc/links.htm
0
 

Expert Comment

by:linuxsub
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.
0
 
LVL 3

Expert Comment

by:cincin77
ID: 9722084
do you work on Linux or windows?
0
 

Author Comment

by:janu_s
ID: 9734504
I am using Winodws
0

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

Windows programmers of the C/C++ variety, how many of you realise that since Window 9x Microsoft has been lying to you about what constitutes Unicode (http://en.wikipedia.org/wiki/Unicode)? They will have you believe that Unicode requires you to use…
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 nested-loops in the C programming language.
The goal of this video is to provide viewers with basic examples to understand and use conditional statements in the C programming language.

628 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