16 Jan
2013
16 Jan
'13
1:35 p.m.
On 16 January 2013 18:54, Richard Oudkerk <shibturn@gmail.com> wrote:
Only sockets are supported because it uses WSARecv()/WSASend(), but it could very easily be made to use ReadFile()/WriteFile(). Then it would work with overlapped pipes (as currently used by multiprocessing) or other files openned with FILE_FLAG_OVERLAPPED.
Oh, cool. I hadn't checked the source to see if multiprocessing opened its pipes with FILE_FLAG_OVERLAPPED. Good to know it does. And yes, if normal file objects were opened that way, that would allow those to be used as well. Paul