sing-box/common/tlsfragment/wait_stub.go

15 lines
247 B
Go
Raw Normal View History

2025-01-26 01:01:00 +00:00
//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
}