[python-win32] Asynchronous UDP socket programming

Matthew Sherborne miracle@paradise.net.nz
Mon, 21 Oct 2002 07:27:48 +1300


I know one difference between TCP and UDP. TCP has no size limitations to
how much you can send in one go, and is guarunteed to arrive at the other
side or error; UDP uses packets of some length (I don't know how much, I
think it's not very big though, like the max is less than 1k), it is
guarunteed that either all of each packet will arrive or none of each packet
will arrive, but you don't get to find out unless you explicitly make the
other end tell you some how.

GBU
Matthew Sherborne


----- Original Message -----
From: "Yu Lei-LEIYU1" <LEIYU1@motorola.com>
To: <python-win32@python.org>
Sent: Saturday, October 19, 2002 11:23 AM
Subject: [python-win32] Asynchronous UDP socket programming


> Hi, Everyone,
>     I tried to write asynchrous UDP socket program but failed. All the
examples
> I found on the web for asynrhous socket programming is for TCP socket.
Does
> UDP or TCP make a difference? Does anyone have any example code for
> asynchronous UDP socket program on Windows? Is there any other solutions
> than using select?
>
> Thanks.
>
> Lei
>
> _______________________________________________
> Python-win32 mailing list
> Python-win32@python.org
> http://mail.python.org/mailman/listinfo/python-win32
>
>