Well, as Roman has pointed out, that’s not a great solution since iemnet doesn’t build on Windows as of 2012. Looks like select() exists in the Win API but only works with BSD socket handles. There are Windows specific calls for the same functionality with file handles though, ie. WaitForMultipleObjects(): http://oldwiki.mingw.org/index.php/sockets http://oldwiki.mingw.org/index.php/sockets
-------- Dan Wilcox @danomatika https://twitter.com/danomatika danomatika.com http://danomatika.com/ robotcowboy.com http://robotcowboy.com/
On Jun 27, 2015, at 6:00 AM, pd-dev-request@lists.iem.at wrote:
On 06/26/2015 05:10 PM, Dan Wilcox wrote:
Also: http://mingw.5.n7.nabble.com/How-does-mingw-support-pipe-tp8714p8722.html http://mingw.5.n7.nabble.com/How-does-mingw-support-pipe-tp8714p8722.html <http://mingw.5.n7.nabble.com/How-does-mingw-support-pipe-tp8714p8722.html http://mingw.5.n7.nabble.com/How-does-mingw-support-pipe-tp8714p8722.html> looks like it’s equivalent unless you’re using select(), but the Windows API doesn’t support select() in general.
thanks for the research.
unfortunately, not being able to use select() on the pipe is a knock-out criterion for iemnet (iirc).
gfamdsr IOhannes