It's a shame if it has this architecture that you can't access a pipe in the same way as a socket using the traditional C API. There's a whole mess of handles, C files and the really nasty self-incompatible MSVCRT.
Well, you can use Win32API CreateFile(), WriteFile(), ReadFile() to access, read/write files, pipes, named-pipes and mailslots (all types also over network).