Skip to content

Net/TCP: ValidPort refinement for safe APIs #28

Description

@jaggederest

Add a ValidPort refinement type for port numbers (0-65535 range).

TCP operations like tcp-listen could require ValidPort instead of Natural, catching invalid port numbers at type-check time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions