From: Ben Hutchings <bhutchings@solarflare.com>
To: ratheesh k <ratheesh.ksz@gmail.com>
Cc: netdev@vger.kernel.org, linux-net@vger.kernel.org
Subject: Re: ftp on udp and tcp .
Date: Tue, 15 Jun 2010 12:50:14 +0100 [thread overview]
Message-ID: <1276602615.14011.464.camel@localhost> (raw)
In-Reply-To: <AANLkTimz7A03_UwOcjgrixqGH9MW8i1dAH6ULfR-sS5z@mail.gmail.com>
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.
next prev parent reply other threads:[~2010-06-15 11:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-15 7:20 ftp on udp and tcp ratheesh k
2010-06-15 11:50 ` Ben Hutchings [this message]
2010-06-17 2:31 ` Narendra Choyal
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1276602615.14011.464.camel@localhost \
--to=bhutchings@solarflare.com \
--cc=linux-net@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=ratheesh.ksz@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).