Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 4a43df886414d1d3c548f132cca026922581f3a8
Ticket: 218526ffffffffffffffffffffffffffffffffff
socket -async problem on Win32
User & Date: nobody on 2000-10-26 01:01:43
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 893 Bug
    Version: 8.0.4
    SubmitDate: '1998-12-03'
    LastModified: '1999-02-02'
    Severity: MED
    Status: Released
    Submitter: welch
    ChangedBy: stanton
    OS: All
    OSVersion: NA
    Machine: NA
    FixedDate: '1999-02-02'
    FixedInVersion: 8.0.5
    ClosedDate: '2000-10-25'
    
    
    I ran into a problem when doing an asynchronous connect on Windows.
    If the connect fails, you never get notified that the connect failed.
    The problem is that FD_CONNECT is not watched for.
    
    I also added a small feature to help with asynchronous connects.  Once
    the connect fails, there was no reasonable way to tell that it failed
    or to get an error message.  You could determine that the connect failed
    (on Unix only before the fix) by trying to write a 0 byte string to the
    socket, and it would fail if the connect failed.  However, you still
    couldn't tell why the connect failed.  I added a fconfigure option that
    will give the status of the connect.
    
      fconfigure sockid -error
    
    will return an error string representing the error condition.  If there
    was no error condition, this will return an empty string.  Here is the
    patch for both things.
    
    Patch on the web
    
  4. foundin changed to: "obsolete: 8.0.4"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "63. (unused)"
  10. title changed to: "socket -async problem on Win32"
  11. type changed to: "Bug"