I'm hoping to broadcast UDP packets using the Wi-Fi antenna to everyone else (running the same application) in range. I'd like to do this without having to establish a connection. Is this possible?

I'm able to establish a P2P Wi-Fi connection and then send a multicast message, but that's not quite what I want.

2 Answers 2


Yes, it's possible, but you must learn IEE802.11 Datagram very well. There are two ways, the first provides two-way data exchange, the second only broadcasts to receivers:

  1. use the beacon frame and Probe request/response frame to send data from AP to clients without connection
  2. use the length field in the data frame to broadcast only. You should develop a communication protocol with the encoded length. The receiver should:

No, this isn't how Wi-Fi works. You have to join the same Wi-Fi network first before sending any kind of IP datagrams.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .