Plz help..SocketServer UDP server losing lots of packets

James Mills prologic at shortcircuit.net.au
Thu Nov 6 16:27:13 CET 2008


On Fri, Nov 7, 2008 at 12:57 AM, I D <id.engg at gmail.com> wrote:
> Thanks for your response.
> But I cannot use a third party software, I need to use the exisiting API's
> within python.

Why ?

> Even this seems to lose packets, I would really appreciate if any pointers
> can be provided to improve my code.

You do realize that UDP is the User Datagram
Protocol and has no Control mechanisms.
You _cannot_ guarantee that packets will
arrive in the right order, if at all.

In all my tests however on local machines
and across machines in a LAN, I don't
loose packets. I do recommend you use
circuits (or twisted).

--JamesMills

-- 
--
-- "Problems are solved by method"



More information about the Python-list mailing list