How to send broadcast IP address to network?
lightaiyee at gmail.com
lightaiyee at gmail.com
Fri Aug 23 08:36:37 EDT 2013
Some typo mistake.
Should be host="192.168.0.255", not "192.168.0.102"
On Friday, August 23, 2013 8:32:10 PM UTC+8, light... at gmail.com wrote:
> I want to send a broadcast packet to all the computers connected to my home router.
>
>
>
> The following 2 lines of code do not work;
>
> host="192.168.0.102"
>
> s.connect((host, port))
>
>
>
> Can someone advise?
>
>
>
> Thank you.
More information about the Python-list
mailing list