Skip to content
This repository has been archived by the owner on Apr 9, 2020. It is now read-only.

请问go在监听端口的时候,有没有办法在代码里面去设置backlog等待队列的值? #481

Open
mokitoo opened this issue Jun 25, 2019 · 1 comment

Comments

@mokitoo
Copy link

mokitoo commented Jun 25, 2019

如题,像python一样监听端口的时候设置 socket.listen(backlog)
而不是通过去改系统的参数

@mokitoo
Copy link
Author

mokitoo commented Jun 25, 2019

我看go 的1.11.1 版本增加了 ListenConfig ,但是不知道这玩意怎么去设置改变backlog的值

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

No branches or pull requests

1 participant