mirror of
https://github.com/golang/go
synced 2024-10-05 18:21:21 -06:00
a0a45bbb71
Also adds maxListenerBacklog placeholder for Plan 9. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/11674044
11 lines
263 B
Go
11 lines
263 B
Go
// Copyright 2013 The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
package net
|
|
|
|
func maxListenerBacklog() int {
|
|
// /sys/include/ape/sys/socket.h:/SOMAXCONN
|
|
return 5
|
|
}
|