I've created a c++ server who broacast a packet every second.
The binary is working and the packet is correctly send when i'm connected on the wifi.
I've put the working binary on a raspberry and have successfully configure an access point (cf this tutorial : https://www.raspberrypi.org/forums/viewtopic.php?f=91&t=54946)
I successfully connect on the ap with my android phone. But when i launch the binary who broadcast, my phone get nothing. He did not receive the packet.
I think hostapd is blocking the broadcast packet but I don't know why and, more than that, I don't know how to enable it.
wlan0 Link encap:Ethernet HWaddr c4:e9:84:17:59:d1
inet addr:192.168.42.1 Bcast:192.168.42.255 Mask:255.255.255.0
inet6 addr: fe80::c6e9:84ff:fe17:59d1/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1243 errors:0 dropped:1 overruns:0 frame:0
TX packets:746 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:85351 (85.3 KB) TX bytes:61162 (61.1 KB)
Either 192.168.42.255 or 255.255.255.255 aren't transmiting the packet.
Little help will be thankfull