[pywin32-bugs] [ pywin32-Patches-3022832 ] add win32File.WSAEnumNetworkEvents
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: SourceForge.net <no...@so...> - 2010-08-27 06:49:35
|
Patches item #3022832, was opened at 2010-06-29 23:55 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551956&aid=3022832&group_id=78018 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None >Status: Closed >Resolution: Accepted Priority: 5 Private: No Submitted By: Ziga Seilnacht (zseil) Assigned to: Nobody/Anonymous (nobody) Summary: add win32File.WSAEnumNetworkEvents Initial Comment: WSAEventSelect is not very useful without the accompanying WSAEnumNetworkEvents, which reports the exact network events that caused the event associated with a socket to become signaled. This patch adds it. The added function reports network events as a dict, which deviates slightly from the winapi interface, but is more convenient. The patch includes some tests that show the intended usage of this function. ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2010-08-27 16:49 Message: Awesome - thanks very much. I had to change a few places in the tests for what seemed to be simple timing issues, but the code itself looks great, so I checked it in with the modified tests - please let me know if you think I screwed anything up. Checking in CHANGES.txt; new revision: 1.59; previous revision: 1.58 Checking in win32/src/win32file.i; new revision: 1.110; previous revision: 1.109 Checking in win32/test/test_win32file.py; new revision: 1.34; previous revision: 1.33 ---------------------------------------------------------------------- Comment By: Ziga Seilnacht (zseil) Date: 2010-06-30 00:28 Message: This would also close feature request #1527583: https://sourceforge.net/tracker/?func=detail&aid=1527583&group_id=78018&atid=551957 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551956&aid=3022832&group_id=78018 |