github.com/golang-haiku/go-1.4.3@v0.0.0-20190609233734-1f5ae41cc308/src/net/sock_haiku.go (about)

     1  // Copyright 2009 The Go Authors.  All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  package net
     6  
     7  import "syscall"
     8  
     9  func maxListenerBacklog() int {
    10  	// TODO: Implement this
    11  	// NOTE: Never return a number bigger than 1<<16 - 1. See issue 5030.
    12  	return syscall.SOMAXCONN
    13  }