Source file src/net/mptcpsock_stub.go
1 // Copyright 2023 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 !linux 6 7 package net 8 9 import ( 10 "context" 11 ) 12 13 func (sd *sysDialer) dialMPTCP(ctx context.Context, laddr, raddr *TCPAddr) (*TCPConn, error) { 14 return sd.dialTCP(ctx, laddr, raddr) 15 } 16 17 func (sl *sysListener) listenMPTCP(ctx context.Context, laddr *TCPAddr) (*TCPListener, error) { 18 return sl.listenTCP(ctx, laddr) 19 } 20 21 func isUsingMultipathTCP(fd *netFD) bool { 22 return false 23 } 24