Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #37955 > unrolled thread
| Started by | Jorge Alberto Diaz Orozco <jaorozco@estudiantes.uci.cu> |
|---|---|
| First post | 2013-01-30 14:55 -0500 |
| Last post | 2013-01-30 21:01 +0000 |
| Articles | 2 — 2 participants |
Back to article view | Back to comp.lang.python
Re: pyrudp Jorge Alberto Diaz Orozco <jaorozco@estudiantes.uci.cu> - 2013-01-30 14:55 -0500
Re: pyrudp garabik-news-2005-05@kassiopeia.juls.savba.sk - 2013-01-30 21:01 +0000
| From | Jorge Alberto Diaz Orozco <jaorozco@estudiantes.uci.cu> |
|---|---|
| Date | 2013-01-30 14:55 -0500 |
| Subject | Re: pyrudp |
| Message-ID | <mailman.1224.1359575728.2939.python-list@python.org> |
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" <torriem@gmail.com> 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.
[toc] | [next] | [standalone]
| From | garabik-news-2005-05@kassiopeia.juls.savba.sk |
|---|---|
| Date | 2013-01-30 21:01 +0000 |
| Message-ID | <kec1o4$br5$2@speranza.aioe.org> |
| In reply to | #37955 |
Jorge Alberto Diaz Orozco <jaorozco@estudiantes.uci.cu> wrote: > 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. > utalk (long since disappeared from the surface of the internet) did have such an implementation, and I once wrote a half-cooked python implementation of its semi-reliable protocol over UDP. Nowadays, I'd recommend using openvpn, or perhaps investigate the possibility of PPP over UDP, or maybe look into SCTP. -- ----------------------------------------------------------- | Radovan GarabĂk http://kassiopeia.juls.savba.sk/~garabik/ | | __..--^^^--..__ garabik @ kassiopeia.juls.savba.sk | ----------------------------------------------------------- Antivirus alert: file .signature infected by signature virus. Hi! I'm a signature virus! Copy me into your signature file to help me spread!
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.python
csiph-web