sing-box/common/tlsfragment/wait_stub.go
2025-03-29 23:11:57 +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
}