Overview
| Artifact ID: | 49738bd72a69a5bc032bbc022d90b6c0586785cd |
|---|---|
| Ticket: | 218838ffffffffffffffffffffffffffffffffff
Tcl error with socket under Win NT |
| User & Date: | nobody on 2000-10-26 01:06:24 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- 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 - foundin changed to: "final: 8.1.1"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "69. Other"
- title changed to: "Tcl error with socket under Win NT"
- type changed to: "Bug"