Overview
| Artifact ID: | 86ceffefb534876b92221a9fee1fb23b6359fb4a |
|---|---|
| Ticket: | 219205ffffffffffffffffffffffffffffffffff
missing file events on server socket under Windows |
| User & Date: | nobody on 2000-10-26 05:03:33 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
OriginalBugID: 3409 Bug Version: 8.2.1 SubmitDate: '1999-11-05' LastModified: '2000-02-10' Severity: CRIT Status: Assigned Submitter: techsupp ChangedBy: hobbs OS: Windows NT OSVersion: 4 FixedDate: '2000-10-25' ClosedDate: '2000-10-25' Name: Ulrich Lauther CustomShell: compiled a static lib; Tcl/Tk library scripts are embedded in a C-file and ObservedBehavior: I set up an event handler in a server gui-application which should react on incoming messages on a socket, concurrently to gui handling. The code looks similar to this: int handle = accept(my_socket,0,0); Tcl_Channel channel = Tcl_MakeTcpClientChannel((ClientData) handle); Tcl_RegisterChannel(my_interpreter,channel); Tcl_CreateChannelHandler(channel, TK_READABLE, file_callback, (void*) this); whenever input arrives at the socket, the function file_callback() should be called. This works fine under Linux, used to work in the past (< 8.1 ?) but does not reliably work under Windows. It DOES work, if I add printf()'s for each arriving message, so I suspect a timing problem. DesiredBehavior: See above. http://www.deja.com/=dnc/viewthread.xp?AN=540260481 It's not certain that this is failing quite as mentioned, and may be due to TCP delay. -- 11/10/1999 hobbs Another reports that this crept into Tcl between 8.0.4 and 8.2: Michael Kirkham wrote: ... > occuring in the older version of our software. This leads me to > believe that the problem was introduced between Tcl 8.0.4 and 8.2.1. > > The dropped events problem is a little bit intermittent, so I am not > 100% certain, but I have not myself been able to observe the dropped > events problem with any version of our software built with Tcl 8.0.4 > but have quite often with versions built with Tcl 8.2.2 (including a > version previously built with Tcl 8.0.4). -- 12/30/1999 hobbs - foundin changed to: "obsolete: 8.2.1"
- 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: "missing file events on server socket under Windows"
- type changed to: "Bug"