Overview
| Artifact ID: | 54fdd67f3917fc0199cf56fc3d2081b9341c3457 |
|---|---|
| Ticket: | 1329754fffffffffffffffffffffffffffffffff
sockets lose data on Windows |
| User & Date: | dgp on 2005-10-18 18:01:37 |
Changes
- assignee changed to: "andreas_kupries"
- cmimetype changed to: "text/plain"
- comment changed to:
Attached script is demo of the problem. Start it in one shell window: tclsh sdtest.tcl server to start a server running. Start it in a second window: tclsh sdtest.tcl client to start a client of that server. The server shell window should print a sequence of messages it received from the client, starting with message 10 count down to 1. This works fine on linux and solaris. On windows, the output does not reach message 1, but craps out about 4 or 5 messages short of all the data. I did Windows testing with the ActiveTcl 8.4.11.2 tclsh. A minor change to the client part of the demo script, so that the socket is explicitly made blocking *before* the final call to [flush], and the bug is worked around and all data passes through on Windows. This should not be required. Sockets should not lose data on any platform. - foundin changed to: "obsolete: 8.4.11"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "dgp"
- subsystem changed to: "27. Channel Types"
- title changed to: "non-blocking sockets lose data on Windows"
- type changed to: "Bug"