Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux HostsFree MagazinesJobs
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > GNU Linux Zone > Linux Networking
Reload this Page Packet lose during communication?
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Linux Networking Hardware/Software related, Modems, Internet connection sharing, IPTables etc.

Reply
 
Thread Tools Display Modes
Old 07-04-2008   #1 (permalink)
Just Joined!
 
Join Date: Apr 2008
Posts: 7
Packet lose during communication?

Hi everybody,

I´m new in Linux,
I have written two client and server perl script programs, because these two PCs should communicate contineously with each other. but some packet are lost during communication.

I want to analyze the way, also the stations and modules, which the packets cross them. but I don't know how can I begin to analyze and how is the Linux kernel construction.

How can Linux detect a packet at network device? what does it do with this packet?
Is there any document in this area? I have read many docs but I didn't find anything useful.

thanks
alialfy is offline   Reply With Quote
Old 07-04-2008   #2 (permalink)
Linux Engineer
 
RobinVossen's Avatar
 
Join Date: Aug 2007
Location: The Netherlands
Posts: 1,173
Send a message via ICQ to RobinVossen Send a message via MSN to RobinVossen
Have you tryed the Sniffers like Wireshark and TCPDump???
__________________
Linux User: 453003
New Users, please read this..
Google first, then ask..
RobinVossen is offline   Reply With Quote
Old 07-04-2008   #3 (permalink)
Just Joined!
 
Join Date: Apr 2008
Posts: 7
Hi,

yes, I have checked the receptions of packets with wireshark, but sometimes the packets are lost and sometimes not, therefore, I want to learn the linux construction. why the whireshark captures all packets and perl program doesn't.
alialfy is offline   Reply With Quote
Old 07-06-2008   #4 (permalink)
Linux Engineer
 
RobinVossen's Avatar
 
Join Date: Aug 2007
Location: The Netherlands
Posts: 1,173
Send a message via ICQ to RobinVossen Send a message via MSN to RobinVossen
Well if you'd look into the kernel source. ( You can Obtain it for Free at The Linux Kernel Archives )
There is a file called Networking.c if I am not mistaken. Maybe yu could get some information in that?
Also, have you thought about the problem that your program might not be Full Duplex? You'd need to Multi-Thread to make the program able to Accept a Stream at the same time as sending one.. Miliseconds can make diffrences.

I hope ( and doubt ) this helped you.

Cheers,
Robin
__________________
Linux User: 453003
New Users, please read this..
Google first, then ask..
RobinVossen is offline   Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
 

Free Magazines
Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe
Systems Management News, the newspaper for IT systems administration and data center managers!
Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe
The Enterprise Newsweekly
eWeek is the essential technology information source for builders of e-business.
subscribe
Oracle Magazine
Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe
Total Telecom
Total Telecom is "The Economist of the communications industry".
subscribe
More free magazines »



All times are GMT. The time now is 02:33 AM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.2.0