Re: [go-nuts] How to lower listen backlog for tcp socket

2019-03-22 Thread Wangbo
I know Control func and syscall.SetsockoptInt(fd, syscall.AF_INET, syscall.SO_REUSEADDR, 1) cat set reuseadd But how to adjust listen backlog since i never find socket options for it. Agniva De Sarker 于2019年3月22日周五 下午4:44写道: > Using ListenConfig is the way to go. > > The Control func is passed

[go-nuts] How to lower listen backlog for tcp socket

2019-03-21 Thread Wangbo
I try to use net.ListenConfig, but fail can someone give example ? -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For m