sing-box/common/tlsfragment/wait_stub.go
2025-01-30 19:43:36 +08:00

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
}