PRoblem with UDP sockets
Pierre Blanchet
Pierre.Blanchet at solsoft.fr
Fri Feb 16 09:13:36 EST 2001
I'm trying to code a TFTP client with python 1.5.2 under
Linux.
I cannot find a way to send UDP packets shorter than 14
bytes.
By example, if i try to send (using sendto) the string ' 0
4 0 1', i get on the wire '0 4 0 1 1 1 1 1 1 1 1 1 1 1 1' althougth
sendto tell me it has send 4 bytes.
Do i do something wrong ? Is there a bug in python in Linux
?
TIA,
Pierre.
--
Pierre Blanchet Support Engineer
http://www.solsoft.com Pierre.Blanchet at solsoft.fr
Tel.: +33 147 15 55 00 Fax: +33 147 15 55 09
More information about the Python-list
mailing list