Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 7bd01f762661ed225f39b1fdffc734b79ad33f4c
Ticket: 597970ffffffffffffffffffffffffffffffffff
windows tcl server drops connections
User & Date: davidw on 2002-08-20 21:55:18
Changes

  1. assignee changed to: "dkf"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    I am running the following on Windows XP:
    
    ---
    set MyCounter 0
    
    proc Cntr {args} {
        incr ::MyCounter
        puts "$args Counter ::MyCounter"
    }
    
    socket -server Cntr 8090
    
    vwait forever
    ---
    
    And connecting to it with this:
    
    ---
    set numcon 50
    
    set goodsockets 0
    set badsockets 0
    
    set i 0
    while { $i < $numcon } {
        if { [catch {
    set sk [socket dwelton 80]
    fconfigure $sk  -buffering line
    puts $sk {GET / HTTP/1.0
    
    
    
    }
        } err] } {
    incr ::badsockets
    puts "$::badsockets bad sockets"
        } else {
    incr ::goodsockets
    puts "$::goodsockets good sockets"
        }
        incr i
    }
    ---
    
    The GET stuff is an artifact of this originally being
    used with tclhttpd, but doesn't really matter.  The
    problem appears to be at a very low level.  When I run
    tcpdump on the connection, it shows that the windows
    box is sending RST's after the other box sends a SYN -
    it's not even trying to connect.
    
    
  4. foundin changed to: "None"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "davidw"
  9. subsystem changed to: "18. Commands M-Z"
  10. title changed to: "windows tcl server drops connections"
  11. type changed to: "Bug"