I'm working on the bacnet IP, and I found that the UDP socket doesn't receive the broadcast message from the client.
I'm using ESP-IDF 4.2, I've set IP_SOF_BROADCAST and IP_SOF_BROADCAST_RECV to 1 in opt.h as suggested.
I've set socket options of SO_BROADCAST and bind the socket to INADDR_ANY too.
Anything I missed out?
Or anyone have working example code as a reference?
UDP socket couldn't receive broadcast message
-
- Posts: 34
- Joined: Wed Sep 21, 2016 6:40 am
Who is online
Users browsing this forum: Baidu [Spider], Bing [Bot] and 76 guests