Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 49738bd72a69a5bc032bbc022d90b6c0586785cd
Ticket: 218838ffffffffffffffffffffffffffffffffff
Tcl error with socket under Win NT
User & Date: nobody on 2000-10-26 01:06:24
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 2329 Bug
    Version: 8.1.1
    SubmitDate: '1999-07-06'
    LastModified: '1999-07-21'
    Severity: CRIT
    Status: Released
    Submitter: techsupp
    ChangedBy: redman
    RelatedBugIDs: 2256 2259 2323 2178 2355
    OS: Windows NT
    Machine: X86
    FixedDate: '1999-07-21'
    FixedInVersion: 8.2b1
    ClosedDate: '2000-10-25'
    
    
    Name:
    Martin Conrad
    
    CustomShell:
    no
    
    ReproducibleScript:
    I developed 2 scripts. They are for testing only and have no further sense.
    
    To start the scripts, you need two command windows. In one, type
    
    tclsh81 cmdserver.tc 4711
    
    In the other, type
    
    tclsh81 cmdclient.tc 4711
    
    where  4711 is the port number. You can use any free port number, 4711 is only one example.
    
    Here the two scripts:
    
    ----------------------------------------------------- CmdServer.tc:
    
    proc service {fdx host port} {
    puts "fd=$fdx, connect from $host:$port"
    close $fdx
    }
    set X 1
    set fd [socket -server service [lindex $argv 0]]
    vwait X
    
    ----------------------------------------------------- CmdClient.tc:
    
    set fd [socket localhost [lindex $argv 0]]
    after 5000 {
    set X 1
    }
    vwait X
    close $fd
    
    -----------------------------------------------------
    
    ObservedBehavior:
    The service proc will not run after starting the client.
    
    DesiredBehavior:
    The service proc should output "fd=sockxx, connect from yyyyy:nnnn", where xx is a number,
    yyyyy is the ip address of the client computer, and nnnn is the given port number.
    
    Best regards,
    
    Martin
    
    
    
    Fixed in 8.2b1 by rolling code back to 8.1.0, 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: "69. Other"
  10. title changed to: "Tcl error with socket under Win NT"
  11. type changed to: "Bug"