Overview
| Artifact ID: | a0d16597e750f601ef8180e3505cc1459d3b14a5 |
|---|---|
| Ticket: | 218398ffffffffffffffffffffffffffffffffff
TR#2178 apparently not fixed in Tcl 8.3. Server never accep |
| User & Date: | nobody on 2000-10-26 00:57:06 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
OriginalBugID: 5220 Bug Version: 8.3 SubmitDate: '2000-04-21' LastModified: '2000-04-24' Severity: CRIT Status: Closed Submitter: techsupp ChangedBy: hobbs OS: Windows NT OSVersion: NT 4.0 SP 5 Machine: gateway e-5200 FixedDate: '2000-10-25' ClosedDate: '2000-04-24' Name: Pete Tinker ReproducibleScript: # Accept a connection from the WTK app # sock -- socket on which connection is made # addr -- address of connector # port -- port used for connection # proc GUIAccept "sock addr port" { global GUIsockR GUIsockW if {$GUIsockR == -1} { set GUIsockR $sock putsD "Got READ connection" } else { set GUIsockW $sock putsD "Got WRITE connection" } fconfigure $sock -buffering line } # Connect to the application. # proc connectToAPP "" { global GUIsockR GUIsockW wt_GUIPort putsD "connecting to APP; waiting on port $wt_GUIPort" set server [socket -server GUIAccept $wt_GUIPort] putsD "waiting for APP connect ..." vwait GUIsockW } I never get an accept from the client, which is a C-based application. This worked in 8.1.1, was supposedly fixed, but still does not work in 8.3. ObservedBehavior: I never get an accept from the client, which is a C-based application. This worked in 8.1.1, was supposedly fixed, but still does not work in 8.3. DesiredBehavior: I should receive two messages from GUIAccept, indicating two connections. I get no messages, and the script blocks at the vwait. Noted in newsgroup: You aren't setting any fileevents in the accept. That isn't the readable and writeable proc lumped into one. -- * David Gravereaux * -- 04/24/2000 hobbs - foundin changed to: "obsolete: 8.3"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "63. (unused)"
- title changed to:
TR#2178 apparently not fixed in Tcl 8.3. Server never accep
- type changed to: "Bug"