* ftp on udp and tcp .
@ 2010-06-15 7:20 ratheesh k
2010-06-15 11:50 ` Ben Hutchings
0 siblings, 1 reply; 3+ messages in thread
From: ratheesh k @ 2010-06-15 7:20 UTC (permalink / raw)
To: netdev, linux-net
Hi ,
what is real advantage of UDP over TCP / TCP over UDP . If i
put the question in a different way - if run ftp application on UDP
and TCP , what is the real difference / advantage ??
Thanks,
Ratheesh
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: ftp on udp and tcp .
2010-06-15 7:20 ftp on udp and tcp ratheesh k
@ 2010-06-15 11:50 ` Ben Hutchings
2010-06-17 2:31 ` Narendra Choyal
0 siblings, 1 reply; 3+ messages in thread
From: Ben Hutchings @ 2010-06-15 11:50 UTC (permalink / raw)
To: ratheesh k; +Cc: netdev, linux-net
On Tue, 2010-06-15 at 12:50 +0530, ratheesh k wrote:
> Hi ,
>
> what is real advantage of UDP over TCP / TCP over UDP . If i
> put the question in a different way - if run ftp application on UDP
> and TCP , what is the real difference / advantage ??
TCP handles segmentation and bandwidth/congestion management. It
recovers from packet loss and reordering. Recent implementations are
also quite resilient to address spoofing. The downsides are higher
latency (potentially very high when recovering from packet loss), higher
setup cost (3-way handshake), and lack of multicast support.
UDP does none of that. It gives you flexibility and control, but the
downside is you have to handle all of those problems yourself.
Ben.
--
Ben Hutchings, Senior Software Engineer, Solarflare Communications
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: ftp on udp and tcp .
2010-06-15 11:50 ` Ben Hutchings
@ 2010-06-17 2:31 ` Narendra Choyal
0 siblings, 0 replies; 3+ messages in thread
From: Narendra Choyal @ 2010-06-17 2:31 UTC (permalink / raw)
To: Ben Hutchings; +Cc: ratheesh k, netdev, linux-net
TCP handles segmentation and bandwidth/congestion management. It
recovers from packet loss and reordering. Recent implementations are
also quite resilient to address spoofing. The downsides are higher
latency (potentially very high when recovering from packet loss), higher
setup cost (3-way handshake), and lack of multicast support.
UDP does none of that. It gives you flexibility and control, but the
downside is you have to handle all of those problems yourself.
Its nice but.
Initial checking of availability for both active port & passive port.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-06-17 2:31 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-15 7:20 ftp on udp and tcp ratheesh k
2010-06-15 11:50 ` Ben Hutchings
2010-06-17 2:31 ` Narendra Choyal
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).