sing-box/common/tlsfragment/wait_stub.go
2025-03-31 21:37:29 +08:00

14 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
}