|
2001-04-01
| ||
| 01:47 | • Ticket [218398ffff] TR#2178 apparently not fixed in Tcl 8.3. Server never accep... artifact: acd667cf26 user: dgp | |
|
2000-10-26
| ||
| 08:21 | • Closed ticket [218398ffff]. artifact: dfda1e3bea user: welch | |
| 00:57 | • New ticket [218398ffff]. artifact: a0d16597e7 user: nobody | |
TR#2178 apparently not fixed in Tcl 8.3. Server never accep
Closed / Fixed218398ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 00:57:06
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
welch Closed ticket [218398ffff].
[History diff]2000-10-26 08:21:17
dgp Ticket [218398ffff]: 3 changes
[History diff]2001-04-01 01:47:56
Log in (anonymous is fine) to add a comment.