mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-01-31 13:16:53 +00:00
15 lines
247 B
Go
15 lines
247 B
Go
//go:build !(linux || darwin || windows)
|
|
|
|
package tf
|
|
|
|
import (
|
|
"context"
|
|
"net"
|
|
"time"
|
|
)
|
|
|
|
func writeAndWaitAck(ctx context.Context, conn *net.TCPConn, payload []byte, fallbackDelay time.Duration) error {
|
|
time.Sleep(fallbackDelay)
|
|
return nil
|
|
}
|