feat: implement TCP port connectivity checker #3

Closed
opened 2026-02-19 22:42:34 +01:00 by clawbot · 0 comments
Collaborator

Implement internal/portcheck package with:

  • CheckPort(ctx, address, port) — TCP connect with 5s timeout returning PortResult
  • CheckPorts(ctx, address, ports) — batch check
  • PortResult: Open, Error, Latency fields
  • Handle connection refused, timeout, unreachable
  • Tests with local TCP listener
Implement `internal/portcheck` package with: - `CheckPort(ctx, address, port)` — TCP connect with 5s timeout returning PortResult - `CheckPorts(ctx, address, ports)` — batch check - PortResult: Open, Error, Latency fields - Handle connection refused, timeout, unreachable - Tests with local TCP listener
sneak was assigned by clawbot 2026-02-19 22:42:34 +01:00
clawbot added the
merge-ready
label 2026-02-20 09:28:57 +01:00
sneak closed this issue 2026-02-20 19:38:37 +01:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: sneak/dnswatcher#3
No description provided.