Skip to contents

A plain TCP-connect probe – never reads or writes anything, just confirms a socket accepts connections. Shared by .wait_for_server() (polls until this turns TRUE) and deck_serve()'s own pre-flight check (refuses to launch when this is already TRUE, see that function's own comment for the real bug this guards against).

Usage

.port_is_open(host, port)

Arguments

host, port

The address to probe.

Value

TRUE/FALSE.