I've uploaded a patch adding Named and Anonymous Pipe transport for Windows. https://issues.apache.org/jira/browse/THRIFT-1558
"This patch adds named & anonymous pipe transport for Windows. The new classes do not affect *NIX builds. We've been using this code on Windows & OSX for 6 months and I'm fairly confident in it. It has not been hammered by automated tests and I welcome stress testing to wring out any bugs. The TPipe and TPipeServer classes are generally modeled after TSocket and TSocketServer. The server of course uses TPipeServer to set up the server side then instantiates TPipe for communications. The client instantiates TPipe transport for connection to the server. Here are some code snippet examples from functions we've built. Variables such as 'pipename' are passed in to the functions. Error handling has been omitted." ... I had hoped to make it cross-platform but since so much time has passed, I figured someone might find it useful as is. It's Windows-only and excluded on *NIX (sorry had to use #ifdefs). I put in some work on a separate branch to support *NIX but don't have enough experience with ASIO to do it justice. There may or may not be enough motivation to work on that since domain sockets are already supported under *NIX and are a better option for that platform. Perhaps the pipe classes could become an abstraction that implements Named Pipes under Windows and Domain Sockets under *NIX by leveraging the existing socket classes. Regards, Peace
