bartbes / love-misc-libs

Just some random libs I have lying around, now with version control!
http://docs.bartbes.com
110 stars 28 forks source link

LUBE: Receiving answers to an UDP broadcast fails #10

Open Boolsheet opened 12 years ago

Boolsheet commented 12 years ago

It's currently not possible to receive answers to an UDP broadcast because udpClient:_receive checks the incoming datagrams against the connected IP address, which is a broadcast address. It dismisses all messages.

The current design apparently expects the clients to know who their getting messages from as the recv callback does not pass on the IP address an port. This would be another problem with UDP broadcasts.