On Thu, Nov 6, 2008 at 10:27 AM, James Mills <[EMAIL PROTECTED]>wrote:
> On Fri, Nov 7, 2008 at 12:57 AM, I D <[EMAIL PROTECTED]> wrote: > > Thanks for your response. > > But I cannot use a third party software, I need to use the exisiting > API's > > within python. > > Why ? @Sam@ That is the requirement of the assignment. > > > > 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. @Sam@ I understand that, but a similar UDP server written in C works perfect, not even a single packet loss, that leads me to believe that I am not doing something right in my python code. > > > 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" >
-- http://mail.python.org/mailman/listinfo/python-list