patchAVR 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

Submitted by:  Christopher Cooper <ccooper21>
Submitted on:  Thu 30 Mar 2017 01:28:51 AM UTC  
 
Category:  None Priority:  5 - Normal
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open

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>

 

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by ccooper21 (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-03-30 ccooper21 Carbon-CopyRemoved -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-

    Back to the top


    Powered by Savane 3.3