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

transport.reuse_linux.go 文件 transport.SetReuseOpt 方法中 syscall.SO_REUSEADDR 应该是 syscall.SO_REUSEPORT 吧? #1

Open
scalalpc opened this issue Feb 11, 2025 · 0 comments

Comments

@scalalpc
Copy link

你好,我在 lkm 代码中看到按CPU核心数绑定socket,调用 avformat 的 transport.SetReuseOpt,设置了 syscall.SO_REUSEADDR,这个按核心数貌似没什么意义,按用核心数的话,感觉应该是 syscall.SO_REUSEPORT 吧?
transport.reuse_windows.go 文件同上。

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