Overview
| Artifact ID: | 261c2f1054084d10cdc0722dbfb6dcf480a1c855758f4ecd523ae6af25f1af77 |
|---|---|
| Ticket: | 455867ffffffffffffffffffffffffffffffffff
Introspect channels by type |
| User & Date: | dgp on 2019-06-03 16:07:43 |
Changes
- assignee changed to: "aku"
- closer changed to: "nobody"
- comment changed to:
The Tcl command [file channels $pattern] returns a list of the names of all open channels, where the name matches $pattern. However, the names of channels are not documented to have any particular properties. They are just tokens to be passed around by commands that manipulate or use channels. Also, any channel that happens to be aliased to a standard channel becomes known by the std channel name (f.e. stdout) in the [file channels] output, not matter what its original names was. So. [file channels sock*] is not a foolproof way to get a list of all open sockets. We need another means to introspect channels by their Tcl_ChannelType.
- icomment:
See TIP 411
- login: "dgp"
- mimetype: "text/plain"
- severity changed to: "Minor"