socket in python 2.2 vs 2.1
Martin v. Loewis
martin at v.loewis.de
Tue Feb 26 10:05:28 CET 2002
Ivan Bykov <ivan at kupol.ru> writes:
> IMHO, '255.255.255.255' is a valid IP number. This is number mask, use
> for broadcast packet.
Somebody correct me if I'm wrong, but 255.255.255.255 is *not* a valid
IP address. Formally, it would be a class E address, for experimental
use; but it has nothing to do with broadcast.
> MvL> Just remove the connect call.
> Then program to work not will.
Can you explain why? Are you using .send, or .sendto, later?
More information about the Python-list