Android Broadcast Address
Posted
by Eef
on Stack Overflow
See other posts from Stack Overflow
or by Eef
Published on 2010-06-07T23:26:03Z
Indexed on
2010/06/07
23:32 UTC
Read the original article
Hit count: 335
Hey,
I am making a Client Server application for my Android phone.
I have created a UDP Server in Python which sits and listens for connections.
I can put either the server IP address in directly like 192.169.0.100
and it sends data fine. I can also put in 192.168.0.255
and it find the server on 192.169.0.100
.
Is it possible to get the broadcast address of the network my Android phone is connected to? I am only ever going to use this application on my Wifi network or other Wifi networks.
Cheers
© Stack Overflow or respective owner