找好久找到终于找到这个
Current head of GDAAsyncUdpSocket does not (also) set SO_REUSEPORT (it just does ADDRESS, which is quite enough for TCP).
I just popped in a quick fix:
https://github.com/dirkx/CocoaAsyncSocket/commit/5ec8c83d59ecb754824f706198eb62e29961c1be
https://github.com/dirkx/CocoaAsyncSocket
and it should get fixed upstream too:
https://github.com/robbiehanson/CocoaAsyncSocket/pull/159
Thanks,
Dw.

作者发现GDAAsyncUdpSocket未设置SO_REUSEPORT,仅设置了ADDRESS,这对于TCP足够但不适合UDP。作者提供了一个快速修复方案,并提交了代码到GitHub仓库。同时,作者建议上游项目也进行相应的更新。
1564

被折叠的 条评论
为什么被折叠?



