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

Create dtls server accepting multiple clients - Windows 11 #18644

Open
GurixD opened this issue Jun 23, 2022 · 0 comments
Open

Create dtls server accepting multiple clients - Windows 11 #18644

GurixD opened this issue Jun 23, 2022 · 0 comments
Labels
triaged: question The issue contains a question

Comments

@GurixD
Copy link

GurixD commented Jun 23, 2022

Windows 11
OpenSSL 3.0.3

I'm unable to create a dtls server accepting multiple clients creating a native socket for each. It appears that all the messages sent by clients are always received only by the mainfd and never by the peerfd making the SSL_accept hang forever. This makes me think about #6934 (comment) because closing the mainfd will make the messages receivable by peerfd. (tried with dtls_udp_echo.c program which works fine on linux)

I tried with bare udp sockets to do the same and only the mainfd is receiving on windows while on linux only peerfd is receiving:
https://gist.github.com/GurixD/becb340fcee09ce2fec24718373688eb

How can I accept multiple clients on windows?

@GurixD GurixD added the issue: question The issue was opened to ask a question label Jun 23, 2022
@t8m t8m added triaged: question The issue contains a question and removed issue: question The issue was opened to ask a question labels Jun 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triaged: question The issue contains a question
Projects
None yet
Development

No branches or pull requests

2 participants