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

History Of Ticket 218398ffffffffff

Artifacts Associated With Ticket 218398ffffffffff

  1. Ticket change [a0d16597e7] (rid 96875) by nobody on 2000-10-26 00:57:06:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized 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
      
    4. foundin initialized to: "obsolete: 8.3"
    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:
      TR#2178 apparently not fixed in Tcl 8.3.  Server never accep
      
    11. type initialized to: "Bug"
  2. Ticket change [dfda1e3bea] (rid 115090) by welch on 2000-10-26 08:21:17:

    1. closedate changed to: "2000-10-26T01:21:17"
    2. closer changed to: "welch"
    3. priority changed to: "2"
    4. resolution changed to: "Fixed"
    5. status changed to: "Closed"
  3. Ticket change [acd667cf26] (rid 101366) by dgp on 2001-04-01 01:47:56:

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