diff options
Diffstat (limited to 'src/pkg/net/sock_solaris.go')
-rw-r--r-- | src/pkg/net/sock_solaris.go | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/pkg/net/sock_solaris.go b/src/pkg/net/sock_solaris.go new file mode 100644 index 000000000..90fe9de89 --- /dev/null +++ b/src/pkg/net/sock_solaris.go @@ -0,0 +1,13 @@ +// Copyright 2009 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 + +import "syscall" + +func maxListenerBacklog() int { + // TODO: Implement this + // NOTE: Never return a number bigger than 1<<16 - 1. See issue 5030. + return syscall.SOMAXCONN +} |