Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder2.hal-mli.net!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.047 X-Spam-Evidence: '*H*': 0.91; '*S*': 0.00; 'protocols.': 0.09; 'rfc': 0.09; 'exercise': 0.13; 'read.': 0.13; 'did.': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'googling': 0.16; 'space)': 0.16; 'tcp': 0.16; 'wrote:': 0.17; 'thu,': 0.17; 'jan': 0.18; 'memory': 0.18; 'bit': 0.21; 'fairly': 0.21; '31,': 0.22; 'runs': 0.22; "i'd": 0.22; 'header:In-Reply- To:1': 0.25; '(as': 0.27; 'opposed': 0.27; 'message- id:@mail.gmail.com': 0.27; 'decide': 0.28; 'run': 0.28; 'protocols': 0.29; 'things,': 0.29; 'getting': 0.33; 'to:addr :python-list': 0.33; 'received:google.com': 0.34; 'protocol': 0.35; 'pm,': 0.35; 'similar': 0.35; 'received:209.85': 0.35; 'but': 0.36; 'level.': 0.36; "i'll": 0.36; 'test': 0.36; 'does': 0.37; 'why': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'some': 0.38; 'things': 0.38; 'to:addr:python.org': 0.39; 'space': 0.39; 'your': 0.60; 'skip:u 10': 0.60; "you'll": 0.62; 'relatively': 0.62; 'worth': 0.63; 'skip:n 10': 0.63; 'become': 0.65; 'subject': 0.66; 'news': 0.68; 'published': 0.71; 'papers': 0.78; '2013': 0.84; 'shoes,': 0.91 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:content-type:content-transfer-encoding; bh=cjWuiD3OlBtTP3PIZsHqCr3gRhoKK/9dD9vSW7zN36o=; b=OVTLaDCa98hNyPp6oR1k0E2gmQWVciYZZZ/oqRux4I6vuROUnY4t7jkZC/PH4sEAen KvE1FGG3q04J/FD90vo01sKWpKfCFgUJwb3uBpI0v9+TQAObW4cnGpODk8Lg4J2VeXI1 tGLkUJiIAq4I5PdwcZnC8UMML/RLce+SLxILpNauDRY+19J3p++bXl9TQa3JyU7wdA0w Enide9azncJOQKdFbmu9o0E+SdToBiLHOsRcDaK7akUeaJPWMqsrEVQ8okX+dftevdRB FLgmKZdeMj35+vmcAnnoKVPHqIERs339Sd1Vv3+6fBkbr28E2OdK78Y1zZHLc/abM3LW G/LA== MIME-Version: 1.0 X-Received: by 10.52.29.109 with SMTP id j13mr6109911vdh.111.1359606762550; Wed, 30 Jan 2013 20:32:42 -0800 (PST) In-Reply-To: <8540677A-5B7C-4AF2-B0CD-CA78E0589ED3@mac.com> References: <51099B55.80808@davea.name> <8540677A-5B7C-4AF2-B0CD-CA78E0589ED3@mac.com> Date: Thu, 31 Jan 2013 15:32:42 +1100 Subject: Re: pyrudp From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 18 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1359606765 news.xs4all.nl 6933 [2001:888:2000:d::a6]:47860 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:37980 On Thu, Jan 31, 2013 at 3:26 PM, wrote: > Now, the good news is that because UDP-based protocols all run in user me= mory space (as opposed to TCP that runs privileged in kernel space) it is r= elatively straightforward for non-privledged users to write and test UDP tr= ansport schemes and this has become a fairly standard CS exercise at the gr= aduate level. If I were in your shoes, I'd start Googling for the papers p= ublished on protocols like HURRICANE, ATAU, or even just the general subjec= t of UDP transport protocols. I'd still include reading up on TCP. The RFC has a good bit about why things are the way they are; when you're designing a protocol that does similar things, it's worth getting an understanding of what your predecessors did. Either you'll get some ideas ("yeah, that's how I'll do it!") or you'll decide you can do better, but it's still worth a read. ChrisA