udp sockets with python
magawake at gmail.com
Tue Nov 9 14:20:45 CET 2010
When measuring round trip time for the UDP echo client/server the C
version is much faster. I was wondering if there is anything I can do
to speed up.
My current code for client looks like this....
for x in range (1000):
The server code looks like this:
I am measuring the round trip time using tcpdump. The C version is
giving me around 80 microseconds (average) and the python is giving me
close to 300 microseconds (average).
More information about the Python-list