AVR Downloader/UploaDEr - Patches: patch #9304, [Bug #48767] Implemented WinSock...
You are not allowed to post comments on this tracker with your current authentication level.
patch #9304: [Bug #48767] Implemented WinSock variation of "ser_drain(...)" functionality
Submitter: | Christopher Cooper <ccooper21> | ||
Submitted: | Thu 30 Mar 2017 01:28:51 AM UTC | ||
Category: | None | Priority: | 5 - Normal |
Status: | Done | Privacy: | Public |
Assigned to: | joerg_wunsch | Open/Closed: | Closed |
Sat 27 Nov 2021 09:16:15 PM UTC, comment #1: |
Joerg Wunsch <joerg_wunsch> |
Thu 30 Mar 2017 01:28:51 AM UTC, original submission:
This patch addresses bug #48767. Unlike the POSIX network programming functionality, the Win32 networking programming functionality did not include a working version of the "ser_drain(...)" function. This function is responsible for draining any stray characters from the programming device before attempting to synchronize with the programmer for the actual programming task. The "ser_drain(...)" function did get used when attempting network programming, but it always failed because it attempted to use the Win32 "ReadFile(...)" API to read data from a WinSock socket, which is illegal. Hence, the actual programming would fail if there were any stray characters queued, causing a synchronization problem between the host and the programmer. |
Christopher Cooper <ccooper21> |
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 6 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2021-11-27 | joerg_wunsch | Status | None | Done | |
Assigned to | None | joerg_wunsch | |||
Open/Closed | Open | Closed | |||
2017-03-30 | ccooper21 | Carbon-Copy | Removed -email is unavailable- | - | |
2017-03-30 | ccooper21 | Attached File | - | Added 99-Add-WinSock-variation-of-ser_drain.patch, #40203 | |
Carbon-Copy | - | Added -email is unavailable- |
Powered by Savane 3.13-f8d8.
Corresponding source code
Applied in r1499, thanks!