[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avrdude-dev] [patch #9304] [Bug #48767] Implemented WinSock variation o
From: |
Christopher Cooper |
Subject: |
[avrdude-dev] [patch #9304] [Bug #48767] Implemented WinSock variation of "ser_drain(...)" functionality |
Date: |
Wed, 29 Mar 2017 21:28:53 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36 |
URL:
<http://savannah.nongnu.org/patch/?9304>
Summary: [Bug #48767] Implemented WinSock variation of
"ser_drain(...)" functionality
Project: AVR Downloader/UploaDEr
Submitted by: ccooper21
Submitted on: Thu 30 Mar 2017 01:28:51 AM UTC
Category: None
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
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.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Thu 30 Mar 2017 01:28:51 AM UTC Name:
99-Add-WinSock-variation-of-ser_drain.patch Size: 2kB By: ccooper21
<http://savannah.nongnu.org/patch/download.php?file_id=40203>
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/patch/?9304>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [avrdude-dev] [patch #9304] [Bug #48767] Implemented WinSock variation of "ser_drain(...)" functionality,
Christopher Cooper <=