You may want to look at https://github.com/TTimo/nanomsg for inspiration. It looks like you are trying to do the same thing I was (adding Named Pipe support to the Windows IPC transport). That repository is my effort so far. I haven't progressed much due to lack of time, but it may give you a few answers. I still plan to get this finished eventually. Cheers, TTimo On Wed, May 28, 2014 at 9:05 AM, 罗勇刚(Yonggang Luo) <luoyonggang@xxxxxxxxx>wrote: > But for receiving, because the Named Pipe is not raw socket. > how to deal with Raw socket. > > > -- > 此致 > 礼 > 罗勇刚 > Yours > sincerely, > Yonggang Luo >