Skip to content
Tcl Source Code History Of Ticket 218121ffffffffff
Login

History Of Ticket 218121ffffffffff

Artifacts Associated With Ticket 218121ffffffffff

  1. Ticket change [bbb039400b] (rid 129529) by nobody on 2000-10-26 00:53:22:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OriginalBugID: 1950 Bug
      Version: 8.0.4
      SubmitDate: '1999-04-27'
      LastModified: '1999-08-08'
      Severity: MED
      Status: Closed
      Submitter: pat
      ChangedBy: hobbs
      OS: All
      OSVersion: NA
      Machine: NA
      FixedDate: '2000-10-25'
      FixedInVersion: NA
      ClosedDate: '1999-08-08'
      
      
      From: [email protected] (vipvop)
      Subject: bug in TCL/TK 8.0.4 for Win95 - deals with socket
      
      I tried to report this to the person it says
      ([email protected]) in the readme file, but in came back user
      unknown so Im posting it here.  I dont usually check this group so
      fogive me if its already been reported. The problem is when you try to
      open a socket to an IP address that isnt currently in use, or doesnt
      have the port you are trying to connect to open. Instead of timing out
      after a few seconds, like it does in the linux version, it just waits
      seemingly forever (after a min I give up and just ctrl-alt-del it).
      Heres the code that works in linux, but not in Win95.
      
      #!/usr/bin/tclsh
      set endip 100
      while {$endip < 131} {
         set addr 207.137.46.$endip
         puts "Trying $addr"
         if [catch {set sockid [socket $addr 80]}] {set sockid 0}
         if [string match "sock*" $sockid] {puts "Open port 80 at: $addr "}
         set endip [expr $endip + 1]
         if [string match "sock*" $sockid] {close $sockid}
      }
      puts "All done!"
      
      That is meant to find my friends web server, he has a dynamic IP
      address and now that monoliths .dyn.ml.org got shut down its the only
      way to find his address out, by trying all of them in that range.
      The bug specifically is the line:
         if [catch {set sockid [socket $addr 80]}] {set sockid 0}
      
      Tcl uses the platforms standard timeout (usually about 1 min),
      and this works as tested (it times out) on Windows as well.
      The user probably didn't wait long enough because it does just
      hang in the interim. 
      -- 08/08/1999 hobbs
      
    4. foundin initialized to: "obsolete: 8.0.4"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "63. (unused)"
    10. title initialized to:
      Opening a socket to an IP that is not in use should time out
      
    11. type initialized to: "Bug"
  2. Ticket change [d93a3a03a7] (rid 107573) by welch on 2000-10-26 08:14:48:

    1. closedate changed to: "2000-10-26T01:14:48"
    2. closer changed to: "welch"
    3. priority changed to: "2"
    4. resolution changed to: "Fixed"
    5. status changed to: "Closed"
  3. Ticket change [b4c425172d] (rid 125100) by dgp on 2001-04-01 01:48:02:

    1. closedate changed to: "2001-03-31T18:48:02"
    2. closer changed to: "dgp"
    3. subsystem changed to: "27. Channel Types"