Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 261c2f1054084d10cdc0722dbfb6dcf480a1c855758f4ecd523ae6af25f1af77
Ticket: 455867ffffffffffffffffffffffffffffffffff
Introspect channels by type
User & Date: dgp on 2019-06-03 16:07:43
Changes

  1. assignee changed to: "aku"
  2. closer changed to: "nobody"
  3. 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.
    
  4. icomment:
    
    See TIP 411
    
  5. login: "dgp"
  6. mimetype: "text/plain"
  7. severity changed to: "Minor"