Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 43999 invoked from network); 11 Sep 2007 01:26:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Sep 2007 01:26:58 -0000 Received: (qmail 1240 invoked by uid 500); 11 Sep 2007 01:26:41 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 1223 invoked by uid 500); 11 Sep 2007 01:26:41 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 1212 invoked by uid 99); 11 Sep 2007 01:26:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Sep 2007 18:26:41 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of yogsothoth78@gmail.com designates 64.233.166.177 as permitted sender) Received: from [64.233.166.177] (HELO py-out-1112.google.com) (64.233.166.177) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Sep 2007 01:26:36 +0000 Received: by py-out-1112.google.com with SMTP id u52so3096086pyb for ; Mon, 10 Sep 2007 18:26:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=hl4Sf/OxSTr9ssyRNf2sPyHuH2c+XJaLdBF5DJ5xAUg=; b=VrxRPgEuDIUwn+j3KYioJd77z1XqDQQZ0uagCd8fy0kGJAYckixrIQCKjD5XCvM6keUbQJ9OLRKNiYsfygk0Q4RwXZS4Q+jvn71m8PYwI44Utt9Td37Rpy5AMYR6uDNox684Easu59tMDVeRUA7LhonkCt/utvg6f3H6xefar0g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=gHZoh7ED2JMHvPRcjT1xR61C/QTTjSueMtXsoEpYCPSZFkru0EubqgRKlOVRkwW/dfo9LBgx4A2O8DwtaOP8/x9uLstiiYq6cEn0f+k3sE521iycp3qqEBBsX6i2WN05o5jCuJ32tCJ6FvtieHjVXYIOC1jwjOSP5bsMkKp9xy8= Received: by 10.64.179.12 with SMTP id b12mr10756948qbf.1189473975101; Mon, 10 Sep 2007 18:26:15 -0700 (PDT) Received: by 10.64.249.13 with HTTP; Mon, 10 Sep 2007 18:26:15 -0700 (PDT) Message-ID: <32effab40709101826o5a33db45k16d12282f660d49b@mail.gmail.com> Date: Mon, 10 Sep 2007 19:26:15 -0600 From: "Yogsothoth GV" To: users@httpd.apache.org In-Reply-To: <46E5C70B.9000800@3dnature.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_10202_16322768.1189473975055" References: <32effab40709101526yd9f2335jea9307a01ee3fcd2@mail.gmail.com> <46E5C70B.9000800@3dnature.com> X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] UDP support for apache ------=_Part_10202_16322768.1189473975055 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On 9/10/07, Chris 'Xenon' Hanson wrote: > > Yogsothoth GV wrote: > > Hello, > > Sorry previous email was sent before completion. > > Can I configure Apache to serve webpages using UDP as transport protocol > ? > > That's the silliest thing I've ever heard of. Yes it is silly, only if you think all data that HTML serves requires TCP like transport semantics. Moreover, HTML specification doesn't specify what semantics to use for transport, right ? However, content may impose those semantics. | > Why would you want to? Say, you are streaming video/audio over HTML like Flash, quicktime. This doesn't necessarily require TCP like semantics because delay due to packet retransmission or HOL blocking is bad (when serving real time data). However, if you are using a transport protocol like UDP you might experience small disturbance, which is better than stalled video/audio. This is one reason that I can think on top of my head. > I see some code in srclib/apr/network_io/unix to send/recv UDP sockets, > > which makes me think it might support. If so how would i configure ? I > > don't see documentation for this. > > I don't even know if these questions make sense, because to serve > webpages > > server may force to do have reliability(so only supports TCP). > > Just because there is support for UDP in APR doens't mean Apache uses > it. APR is the > Apache Portable Runtime: > http://apr.apache.org/ It could be sued for a lot of things other than Apache itself. I completely agree they might be using for totally different purpose. I just started diving into the code and trying to make sense of it. -GV > > thanks, > > -GV > > > -- > Chris 'Xenon' Hanson | Xenon @ 3D Nature | http://www.3DNature.com/ > "I set the wheels in motion, turn up all the machines, activate the > programs, > and run behind the scenes. I set the clouds in motion, turn up light > and sound, > activate the window, and watch the world go 'round." -Prime Mover, > Rush. > > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP Server Project. > See for more info. > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > " from the digest: users-digest-unsubscribe@httpd.apache.org > For additional commands, e-mail: users-help@httpd.apache.org > > ------=_Part_10202_16322768.1189473975055 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline

On 9/10/07, Chris 'Xenon' Hanson <xenon@3dnature.com> wrote:
Yogsothoth GV wrote:
> Hello,
> Sorry previous email was sent before completion.
> Can I configure Apache to serve webpages using UDP as transport protocol ?

   That's the silliest thing I've ever heard of.

Yes it is silly, only if you think all data that HTML serves requires TCP like transport semantics. Moreover, HTML specification doesn't specify what semantics to use for transport, right ?
However, content may impose those semantics.

| >  Why would you want to?
Say, you are streaming video/audio over HTML like Flash, quicktime.  This doesn't
necessarily require TCP like semantics because delay due to packet retransmission or HOL blocking is bad (when serving real time data). However, if you are using a transport protocol like
UDP  you might experience small disturbance, which is better than stalled video/audio. This
is one reason that I can think on top of my head.

> I see some code in srclib/apr/network_io/unix to send/recv UDP sockets,
> which makes me think it might support.  If so how would i configure ? I
> don't see documentation for this.
> I don't even know if these questions make sense, because to serve webpages
> server may force to do have reliability(so only supports TCP).

   Just because there is support for UDP in APR doens't mean Apache uses it. APR is the
Apache Portable Runtime:
http://apr.apache.org/
   It could be sued for a lot of things other than Apache itself.

I completely agree they might be using for totally different purpose. I just started diving into the
code and trying to make sense of it.

-GV


> thanks,
> -GV


--
      Chris 'Xenon' Hanson | Xenon @ 3D Nature | http://www.3DNature.com/
  "I set the wheels in motion, turn up all the machines, activate the programs,
   and run behind the scenes. I set the clouds in motion, turn up light and sound,
   activate the window, and watch the world go 'round." -Prime Mover, Rush.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


------=_Part_10202_16322768.1189473975055--