Sign in to follow this  
polan

tcp protocol

Recommended Posts

I have couple question about it as I'm having huge problem.. packet loosing :P.

1) If we send many medium/small packets trought tcp, is it possible that tcp connect then to send one bigger but faster?

2) If 1 is true, tcp later split them again or give client 1 bigass packet?

3) If 1 is false, is it possible that sending 4kb of data in 32 packets could make client overloaded? Usually only 3,6 packets out of 32 arrives to client :/

4) Is it possible that router block some of packets and tthey stuck somewhere midway? Even with port forwarded?

5) How distance affect packets?(only ping?)

oh and 6) What's the sense of life?

I know those might be hard question but I need some help :|

Share this post


Link to post
Share on other sites

1) http://en.wikipedia.org/wiki/Nagle%27s_algorithm

2) http://en.wikipedia.org/wiki/Maximum_transmission_unit , http://en.wikipedia.org/wiki/Path_MTU_discovery

3) if you have packet loss on the route, TCP will take care about retransmitting the packets over and over again: http://en.wikipedia.org/wiki/Transmission_Control_Protocol#Reliable_transmission

4) Only if the router has deep packet inspection and thinks the packets have malicious content. If the bandwidth of the link is saturated, packets will be dropped regardless of content.

5) Ping. More possible points of failure (MTU related, saturated or faulty links).

6) http://en.wikipedia.org/wiki/Time_to_live

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this