Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 72d99b28df21c52f47f3fdf150a5e5c80a03ed10
Ticket: 219307ffffffffffffffffffffffffffffffffff
Tcl's fileevent callback on a socket does not work the same
User & Date: dkf on 2001-01-16 21:21:56
Changes

  1. icomment:
    It looks to me like the behaviour described as being erroneous is quite possible, since the [socket] command (as written) returns a connected socket, meaning that the server will have had a chance to close the socket off.    Either the socket being opened or being closed would be sufficient reason to trigger the writable callback (which is also called when the socket is in an error condition, e.g. closed.)
    
    The real question is why are no callbacks being performed for the channel at the Tcl end under Windows?
    
    
  2. login: "dkf"
  3. mimetype: "text/plain"
  4. username: "dkf"