#225 closed enhancement (fixed)
Add a predicate for port open/closed status (slot 8)
| Reported by: | sjamaan | Owned by: | Felix |
|---|---|---|---|
| Priority: | not urgent at all | Milestone: | |
| Component: | core libraries | Version: | 4.6.0 |
| Keywords: | ports, closed, status | Cc: | |
| Estimated difficulty: |
Description
Currently there's no way to check if a port is open or closed besides from performing an operation on it and checking whether it caused an exception or call ##sys#slot on it directly.
It would be a good idea to add a port-closed? predicate. Here's a patch.
Attachments (1)
Change History (3)
Changed 16 years ago by
| Attachment: | port-closed.patch added |
|---|
comment:1 Changed 16 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Applied in 6eda778123408d57e78e6e87935dd7c588df724c (experimental).
Thanks, sjaaman.
Note: See
TracTickets for help on using
tickets.

Implementation of port-closed?