我是在Visual Stdio 2013两人的建立project.编译如下两个人main文件,然后测试 服务器:Server.cpp #include <WINSOCK2.H> #include <iostream> using std::cout; using std::cin; using std::endl; #include <string> using std::string; #pragma comment(lib,"ws2_32.lib"…
Typically two processes communicate with each other on a single system through one of the following inter process communication techniques. Pipes Message queues Shared memory There are several other methods. But the above are some of the very classic…