服务端代码:
public class TalkServer {public static void main(String args[]){try {//创建服务器,开放7777端口ServerSocket server new ServerSocket(7777);while(true){Socket socket server.accept();System.out.println("客户端与服务端已…
error while loading shared libraries: : cannot open shared object file: No such file or directory 解决办法:向ld.so.conf文件中添加libboost_system.so.1.58.0所在的目录路径sudo vim /etc/ld.so.conf
sudo ldconfig http://blog.csdn.net/smallfish0315/ar…