Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!feeds.phibee-telecom.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.139 X-Spam-Level: * X-Spam-Evidence: '*H*': 0.72; '*S*': 0.00; 'say,': 0.05; '"michael': 0.16; 'did.': 0.16; 'packets.': 0.16; 'shooting': 0.16; 'tcp': 0.16; 'code.': 0.20; 'sort': 0.21; 'trying': 0.21; 'wednesday,': 0.22; 'cc:2**0': 0.23; 'example': 0.23; 'header:In-Reply-To:1': 0.25; 'cc:addr:gmail.com': 0.27; 'all.': 0.28; 'received:10.0.0': 0.28; 'probably': 0.29; 'this.': 0.29; 'connection': 0.30; 'header:Received:8': 0.30; 'code': 0.31; 'implement': 0.32; '-----': 0.32; 'received:10.0': 0.33; 'to:addr:python-list': 0.33; 'project': 0.34; 'protocol': 0.35; 'expected': 0.35; 'subject:': 0.36; 'but': 0.36; 'email addr:python.org': 0.36; 'does': 0.37; 'uses': 0.37; 'sent:': 0.37; 'subject:: ': 0.38; 'from:': 0.38; 'some': 0.38; 'received:10': 0.38; 'to:addr:python.org': 0.39; 'build': 0.39; 'google': 0.39; 'your': 0.60; 'real': 0.61; 'share': 0.61; 'stand': 0.61; "you'll": 0.62; '30,': 0.62; 'email name:python-list': 0.62; 'received:unknown': 0.63; 'behavior': 0.64; 'results': 0.65; 'promise': 0.65; 'received:200': 0.71; '2013': 0.84; 'complaint': 0.84 X-Virus-Scanned: amavisd-new at uci.cu Date: Wed, 30 Jan 2013 14:55:20 -0500 (EST) From: Jorge Alberto Diaz Orozco To: python-list@python.org Subject: Re: pyrudp In-Reply-To: <5109555F.3050307@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit MIME-Version: 1.0 X-Mailer: Zimbra 7.1.3_GA_3346 (ZimbraWebClient - FF3.0 (Win)/7.1.3_GA_3346) Cc: Michael Torrie 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: 22 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1359575728 news.xs4all.nl 6917 [2001:888:2000:d::a6]:51898 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:37955 I want to use a reliable UDP connection like you say, a TCP like connection but over UDP. thaks for your recomendation, if I get good results I promise to share them. ----- Original Message ----- From: "Michael Torrie" To: python-list@python.org Sent: Wednesday, January 30, 2013 9:16:15 AM Subject: Re: pyrudp Excuse me for chuckling, but your complaint that UDP packets can "arive disorganised or just not arive" describes exactly what UDP does by design! If you need to use UDP then you will have to live with this. I always consider UDP to stand for "UNRELIABLE datagram packets." They can and do come in any order, or not at all. That's exactly the expected behavior of UDP. If you want to build a reliable connection on top of UDP you'll have to invent some sort of tcp-like protocol that uses UDP packets. An example of a real all that does this is openvpn. The Bell Labs Plan 9 RUDP protocol is probably what you were shooting for by trying to use the non-existent pyrudp code. But I fear you'll have to implement it yourself. pyrudp is an empty project on Google Code. The owner intended to develop some code but never did.