Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: d077e9261ea8ef33a6bdf1059c5ae84da9bed68d
Ticket: 506304ffffffffffffffffffffffffffffffffff
socket timeout requires program restart
User & Date: apulsifer on 2002-01-21 06:11:23
Changes

  1. assignee changed to: "hobbs"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    This bug is in the socket command under Win 2K SP 2, 
    which also affects the http package.  Sorry if I 
    entered it under the wrong category.
    
    I have a script that downloads a bunch of web pages:
    
    while {[catch {set sp [socket $host $port]} errmsg]} {
    puts "socket failed: $errmsg"
    after 10000
    }
    
    Eventually, (usually after 10-20 minutes of 
    operation), the socket command will begin returning:
    
    $errmsg = couldn't open socket: connection timed out
    
    It will continue returning this error until I stop the 
    program with control-C.  When I rerun the program, 
    every thing is immediately fixed.
    
    I'm running under Win 2K SP 2.  This error condition 
    occurs only under v 8.3.4.  I downgraded to v8.3.2 and 
    I no longer have this problem.
    
    This error condition occurs when using the http 
    package, and when using the socket command directly.
    
    
  4. foundin changed to: "obsolete: 8.3.4"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "apulsifer"
  9. subsystem changed to: "29. http Package"
  10. title changed to: "socket timeout requires program restart"
  11. type changed to: "Bug"