UDP socket, need help setting sending port

keirr keir.robinson at gmail.com
Tue Dec 20 04:46:21 EST 2005


A few trivial corrections, to my own post :-(
tc_sock = socket(socket...
should be
tc_sock = socket.socket(socket...
of course

 and, (while I'm here)  when I stated that calling connect on an
unbound socket caused
a ephemeral port to be assigned, I should have written "calling connect
on an unbound _UDP_ socket, etc. "

Cheers,

 Keir.




More information about the Python-list mailing list