1
0
mirror of https://github.com/golang/go synced 2024-10-05 18:21:21 -06:00
go/src/pkg/net/sock_plan9.go
Mikio Hara a0a45bbb71 net: consolidate listenerBacklog declaration
Also adds maxListenerBacklog placeholder for Plan 9.

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/11674044
2013-07-24 08:43:08 +09:00

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
}