Looks like Windows has a posix pipe function, it’s called “_pipe”: https://msdn.microsoft.com/en-us/library/edze9h7e(VS.71).aspx https://msdn.microsoft.com/en-us/library/edze9h7e(VS.71).aspx
I imagine this just requires using a platform check to name the function using a macro.
-------- Dan Wilcox @danomatika https://twitter.com/danomatika danomatika.com http://danomatika.com/ robotcowboy.com http://robotcowboy.com/
On Jun 26, 2015, at 6:00 AM, pd-dev-request@lists.iem.at wrote:
From: IOhannes m zmölnig <zmoelnig@iem.at mailto:zmoelnig@iem.at> Subject: Re: [PD-dev] Compiling iemnet on Windows XP Date: June 25, 2015 at 3:30:28 PM EDT To: pd-dev@lists.iem.at mailto:pd-dev@lists.iem.at
On 06/25/2015 07:32 PM, Fred Jan Kraan wrote:
While testing the Makefile.pdlibbuilder, I found that iemnet depends on a pipe library, which appeared not to be supported by MinGW. CygWin is roumoured to support it, but I never tried this.
rather than an obscure "pipe library" iemnet uses the POSIX standard "pipe()". the rest is correct though (and i never tried it either; nor do i intend to go the cygwin route)
gfmadsr IOhannes
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 looks like it’s equivalent unless you’re using select(), but the Windows API doesn’t support select() in general.
-------- Dan Wilcox @danomatika https://twitter.com/danomatika danomatika.com http://danomatika.com/ robotcowboy.com http://robotcowboy.com/
On Jun 26, 2015, at 11:04 AM, Dan Wilcox danomatika@gmail.com wrote:
Looks like Windows has a posix pipe function, it’s called “_pipe”: https://msdn.microsoft.com/en-us/library/edze9h7e(VS.71).aspx https://msdn.microsoft.com/en-us/library/edze9h7e(VS.71).aspx
I imagine this just requires using a platform check to name the function using a macro.
Dan Wilcox @danomatika https://twitter.com/danomatika danomatika.com http://danomatika.com/ robotcowboy.com http://robotcowboy.com/
On Jun 26, 2015, at 6:00 AM, pd-dev-request@lists.iem.at mailto:pd-dev-request@lists.iem.at wrote:
From: IOhannes m zmölnig <zmoelnig@iem.at mailto:zmoelnig@iem.at> Subject: Re: [PD-dev] Compiling iemnet on Windows XP Date: June 25, 2015 at 3:30:28 PM EDT To: pd-dev@lists.iem.at mailto:pd-dev@lists.iem.at
On 06/25/2015 07:32 PM, Fred Jan Kraan wrote:
While testing the Makefile.pdlibbuilder, I found that iemnet depends on a pipe library, which appeared not to be supported by MinGW. CygWin is roumoured to support it, but I never tried this.
rather than an obscure "pipe library" iemnet uses the POSIX standard "pipe()". the rest is correct though (and i never tried it either; nor do i intend to go the cygwin route)
gfmadsr IOhannes
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 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