communication between OS services with c++

view story

http://stackoverflow.com – I am developing 2 Windows services, one of them will send pictures and word files to other and other service will give a string answer. That services are in same computer. I will develop same program's Linux version also. Which way is the best for communication between services in Linux and Windows. By the way I am developing that services with C++. (HowTos)