Question about TCP/IP
Hi Everyone,
I have a program running over the TCP/IP network. Yet, sometimes it would deliver slow response time. Is there any good way to isolate/identify what is causing this?
What would happen when the line is cut during transmission? IS there any particular timeout error need to be looked for?
Thanks in advance
Mikey
__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Hello Mikey,
Quoted 3 lines
Is
there any good way to isolate/identify what is causing this?
It could be many things. From congestion of the network to bad programming. If you are sure the problem is with the net, discover if it's half or full-duplex. If it's half-duplex, go to your hub or switch and discover if there are too many collisions going on (there should be a yellow or orange light flashing everytime a collision happens).
Try using a sniffer or a traffic analyzer to find out how much bandwidth is being used.
If there's enough bandwidth left, there are no collisions going on, it could be a computer set up problem (MTU etc).
Quoted 3 lines
What would happen when the line is cut during transmission? IS there any particular timeout error need to be looked for?
No. If the line is cut during a transmission, the receiver won't be able to check things like checksums with an incomplete packet. So, it will drop it.
(I'm not sure if it won´t send out an icmp message with parameter problem. But I think not.)
Rodolpho
Signature · 10 lines
Rodolpho H. O. Eckhardt [email protected] Cel: 11 9126-9107 - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs