Linux环境下使用socketpair函数创造一对 未命名的、相互连接的UNIX域 套接字。 定义 int socketpair(int d, int type, int protocol, int sv[2]);描述 建立一对匿名的已经连接的 套接字 创建一对Socket: