Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 4ee6c34ab841e21b9f17c954c7b82fe46a6e1687
Ticket: 218806ffffffffffffffffffffffffffffffffff
server sockets never accept connections on Windows
User & Date: nobody on 2000-10-26 01:05:46
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 2178 Bug
    Version: 8.1.1
    SubmitDate: '1999-06-04'
    LastModified: '1999-07-21'
    Severity: CRIT
    Status: Released
    Submitter: stanton
    ChangedBy: redman
    RelatedBugIDs: 2256 2259 2323 2329 2355
    OS: All
    OSVersion: NA
    Machine: NA
    FixedDate: '1999-07-21'
    FixedInVersion: 8.2b1
    ClosedDate: '2000-10-25'
    
    
    The new socket driver fails to report ACCEPT events to the server socket, so incoming connections are never seen by the script.
    
    The following script demonstrates the bug:    
    
      proc accept {s args} {
    puts "accept $s [list $args]"
    puts $s foobar
    close $s
        }
        set s1 [socket -server accept 5001]
        after 1000
        set s2 [socket 127.0.0.1 5001]
        set z 0
        fileevent $s2 readable { incr z }
        puts "first wait"
        vwait z
        puts "never gets here"
    
    
    
    06/04/1999 18:42 - stanton - I have rolled back to the core-8-1-0 implementation, which is the last mostly working version.  We need to schedule time to fix this properly for the next patch release.
    
    Fixed in 8.2b2 with new socket implementation.
    
    -- 07/21/1999 redman
    
    
    
  4. foundin changed to: "final: 8.1.1"
  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: "server sockets never accept connections on Windows"
  11. type changed to: "Bug"