CppServer
CppServer copied to clipboard
How to Use UDP Broadcast in Linux?
trafficstars
May I ask if CppServer has a relevant interface to set UDP broadcast mode? I can directly send messages to the broadcast address (192.168.1.255) in Window, and the server receives them normally. However, when running on Linux, the client prompts [cause an error with code 13 and category 'asio. system': Permission denied]. It should be set separately without broadcast permission. How can I solve this problem?
Thanks Very Much.