Re: [hybi] UDP WebSockets?

Zhong Yu <zhong.j.yu@gmail.com> Fri, 22 March 2013 11:03 UTC

Return-Path: <zhong.j.yu@gmail.com>
X-Original-To: hybi@ietfa.amsl.com
Delivered-To: hybi@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7939E21F90DA for <hybi@ietfa.amsl.com>; Fri, 22 Mar 2013 04:03:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level:
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, NO_RELAYS=-0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id l6cI1OHaRRjD for <hybi@ietfa.amsl.com>; Fri, 22 Mar 2013 04:03:28 -0700 (PDT)
Received: from mail-ob0-x232.google.com (mail-ob0-x232.google.com [IPv6:2607:f8b0:4003:c01::232]) by ietfa.amsl.com (Postfix) with ESMTP id C807E21F89CB for <hybi@ietf.org>; Fri, 22 Mar 2013 04:03:28 -0700 (PDT)
Received: by mail-ob0-f178.google.com with SMTP id wd20so3887799obb.9 for <hybi@ietf.org>; Fri, 22 Mar 2013 04:03:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=HF97z6iCObUrU5YZJJH08TxRCCH8JIR7szJW4pSx3Uw=; b=IILPUDPVql8JLfTBcRl1GwQ/FmfM6hrigIBtgDSYrMt/iGikE+nY9W48mUN1maTGhF Pae8YSBLMmaCNAX5kxvnluT+yVY3q6MxhLbG/kbJIvam3lAt4NBPmOynlUTa5T88ZNFt A8RG8TgWDS3qabin6MCcdIXNR46cuoiy39ikSbebncmiwlu4n2GN7f8h5ar0vjOV4s3t gLaA9ClL9DZOfQQ3IyM393qnpsBzNOY+fQeFS44fumjAcCP082SBROWiPYdKMz5k+gg9 ikMbT9PHZ1SArvRC/X5uAWQxhCRy3YwuPjjsHte91vSr/Iyd3kMXnVOU/8Fpi6QFVh8T QJeA==
MIME-Version: 1.0
X-Received: by 10.60.172.131 with SMTP id bc3mr1258839oec.79.1363950208350; Fri, 22 Mar 2013 04:03:28 -0700 (PDT)
Received: by 10.76.22.130 with HTTP; Fri, 22 Mar 2013 04:03:28 -0700 (PDT)
In-Reply-To: <CADkjLSKUwcY-m2CZEoDAjuONOAri=_KXizy0_b-0E9b1F3TKDA@mail.gmail.com>
References: <CADkjLSKUwcY-m2CZEoDAjuONOAri=_KXizy0_b-0E9b1F3TKDA@mail.gmail.com>
Date: Fri, 22 Mar 2013 06:03:28 -0500
Message-ID: <CACuKZqF2XfWpZj5TFTOh-b7-s03wkoDRk21xgdENBgWh3KFUBQ@mail.gmail.com>
From: Zhong Yu <zhong.j.yu@gmail.com>
To: Andrew Rasmussen <arasmussen@katworks.com>
Content-Type: text/plain; charset="ISO-8859-1"
Cc: hybi@ietf.org
Subject: Re: [hybi] UDP WebSockets?
X-BeenThere: hybi@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Server-Initiated HTTP <hybi.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/hybi>, <mailto:hybi-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/hybi>
List-Post: <mailto:hybi@ietf.org>
List-Help: <mailto:hybi-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/hybi>, <mailto:hybi-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 22 Mar 2013 11:03:29 -0000

I wouldn't even say that WebSocket is built on top of TCP. From
application's point of view, WebSocket is pretty close to TCP socket.
If WebSocket is a protocol on top of TCP to simulate TCP... who needs
that for?

The crux of WebSocket is that there is an HTTP pathway between the
client and the server, but there is not necessarily an unconstrained
TCP pathway. The job of WebSocket is to sneak non-HTTP full-duplex
data on this HTTP pathway without causing problems. If that's the
defining characteristic of WebSocket, then whatever-protocol over UDP
will have nothing to do with WebSocket as we know it, since it's not
on an HTTP pathway.

(note: an unconstrained TCP pathway is also an HTTP pathway)

Zhong Yu

On Fri, Mar 22, 2013 at 2:07 AM, Andrew Rasmussen
<arasmussen@katworks.com> wrote:
> Hi,
>
> Has the hybi had any discussions regarding adding support for UDP sockets to
> the WebSocket protocol?
>
> Thanks,
> Andrew Rasmussen
>
> _______________________________________________
> hybi mailing list
> hybi@ietf.org
> https://www.ietf.org/mailman/listinfo/hybi
>