Accessing FIFOs / Named Pipes with Xojo

Hi Folks,

I’ve got a situation where I can’t use MB-based IPC and will be using FIFOs for communication between a couple of apps. From my understanding, I should simply (yeah, right…) open the fifos as binarystreams and then read and write as in a network-based IPC. However, I’m running into oddities with keeping the connections live.

Has anyone worked successfully with FIFO communications in RS/Xojo who could share examples / workflow?


@Wayne Golding posted a socket-like class for dealing with Win32 named pipes. Even if you need another platform, it’s mostly done using BinaryStreams and as I recall included some “keep-alive” logic as well.

Thanks, @Andrew Lambert and @Wayne Golding - that’s exactly where my problem was occurring.