summaryrefslogtreecommitdiff
path: root/libgo/go/net/sock_solaris.go
blob: 484e1fe461ae6407565122640e15f69fb1404256 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright 2012 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.

// +build solaris

// Sockets for Solaris

package net

import (
	"syscall"
)

func maxListenerBacklog() int {
	// The kernel does not track the limit.
	return syscall.SOMAXCONN
}