Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to Use UDP Broadcast in Linux? #91

Open
qqnzhyxxx opened this issue Nov 15, 2023 · 0 comments
Open

How to Use UDP Broadcast in Linux? #91

qqnzhyxxx opened this issue Nov 15, 2023 · 0 comments

Comments

@qqnzhyxxx
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant