LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Closed Thread
  Search this Thread
Old 04-18-2012, 02:38 AM   #1
sowpra
LQ Newbie
 
Registered: Feb 2012
Posts: 23
Blog Entries: 1

Rep: Reputation: Disabled
Question How to find out dat how many number of packets have travelled in 1 minute in C?


Actually our project is traffic generator via wired networks...!

we are in a module which is traffic generating parameters...where we send packets with different ip,mac addresses and port numbers...!

now we want to know how many bits can be sent in 1 minute including the delay...so that we can enhance the speed of sending the packets by making use even of that delay time....
so that more number of packets can be sent with enhanced speed...!

also there is something like...if the packet size is less...we should be able to send more number of packets than the usual sending...we are completely new

and also i want to know how to add a timer in our program so that we can count how many packets are sent for 1 minute..that is when the timer reaches 60seconds!
 
Old 04-18-2012, 07:24 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,342

Rep: Reputation: 2746Reputation: 2746Reputation: 2746Reputation: 2746Reputation: 2746Reputation: 2746Reputation: 2746Reputation: 2746Reputation: 2746Reputation: 2746Reputation: 2746
You may find some of the links here highly informative http://www.knowplace.org/pages/howto.../resources.php
These books by Richard Stevens are classics on the subject; your Library should have some/all http://www.kohala.com/start/
 
Old 04-18-2012, 08:40 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.


http://www.linuxquestions.org/questi...ackets-940207/
 
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to find out dat how many number of packets have travelled in 1 minute in C? sowpra Linux - Software 4 04-18-2012 11:52 AM
How to find out dat how many number of packets have travelled in 1 minute in C? sowpra Linux - Newbie 2 04-17-2012 01:17 AM
How to find xpti.dat file? Micro420 Linux - General 2 07-23-2006 11:38 AM
Xmame can't find hiscore.dat jenna_h Linux - Games 5 03-10-2004 10:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration