Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: e188c4de224bd7c7433a30a3cc6093dcefb5ed01
Ticket: 219195ffffffffffffffffffffffffffffffffff
async Tcl_OpenTcpClient failure remains undetected
User & Date: dkf on 2001-01-16 20:42:38
Changes

  1. icomment:
    Is it possible to open this socket in asynchronous mode (with the flag -async)?  Then you can get a timeout quite simply using the [after] command, and you know (by watching for either the timer event or a writable fileevent) whether you've successfully connected or not.
    
    Hmm.  Perhaps the -async option should note (via demo-code?) that any [fileevent writable] events defined on an async socket get fired when the connection is made...
    
    
  2. login: "dkf"
  3. mimetype: "text/plain"
  4. username: "dkf"