CppServer icon indicating copy to clipboard operation
CppServer copied to clipboard

How to Use UDP Broadcast in Linux?

Open qqnzhyxxx opened this issue 2 years ago • 0 comments
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.

qqnzhyxxx avatar Nov 15 '23 06:11 qqnzhyxxx