|
From: | Paolo Bonzini |
Subject: | [Help-smalltalk] Re: [PATCH 2/2 RFT] support socket select in lib-src/socketx.c's win_select |
Date: | Mon, 18 Aug 2008 11:45:35 +0200 |
User-agent: | Thunderbird 2.0.0.16 (Macintosh/20080707) |
Paolo Bonzini wrote:
2) Even though MsgWaitForMultipleObjects works for sockets, I guess GetFileType should be called earlier, so that the state of sockets is correctly returned as readable or writable or both.The attached patch (not applied yet) tries to implement this. I have not even compiled it; help is appreciated.
Code for this (actually a different patch that gets rid of socketx.c completely and moves its code into poll.c) is in the poll-for-win32 branch of http://www.inf.unisi.ch/phd/bonzini/webdav/smalltalk.git (my git repository).
Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |