Source file src/net/tcpconn_keepalive_conf_darwin_test.go

     1  // Copyright 2024 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  //go:build darwin
     6  
     7  package net
     8  
     9  import (
    10  	"syscall"
    11  	"testing"
    12  )
    13  
    14  const (
    15  	syscall_TCP_KEEPIDLE  = syscall.TCP_KEEPALIVE
    16  	syscall_TCP_KEEPCNT   = sysTCP_KEEPCNT
    17  	syscall_TCP_KEEPINTVL = sysTCP_KEEPINTVL
    18  )
    19  
    20  type fdType = int
    21  
    22  func maybeSkipKeepAliveTest(_ *testing.T) {}
    23  

View as plain text