paserver_check_connection
Verify a PAServer connection profile resolves locally and its host accepts TCP connections. Use this pre-flight check to diagnose build failures before file transfer or compilation.
Instructions
Two-stage reachability check for a PAServer Connection Profile.
Runs:
Registry/paclient lookup to confirm the profile exists locally and resolve its host:port.
A plain TCP connect to that host:port to confirm PAServer is listening.
Doesn't perform a full PAServer protocol handshake (that requires the paclient password and isn't necessary to answer "is the host even reachable"). For full validation, run any file-transfer tool against the profile — paclient will surface protocol-level errors.
Use this as the first pre-flight step before iOS/macOS/Linux builds or before paserver_get/paserver_put. Answers ~90% of "why is my PAServer build failing" questions immediately.
Args: profile: Connection Profile name (e.g. "MACBOOK"). timeout: TCP connect timeout in seconds. Default 3. studio_root: Optional Studio install root.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| profile | Yes | ||
| timeout | No | ||
| studio_root | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |