搜索资源列表
connector
- 用C实现的TCP/IP socket连接/读/写操作。采用了select方法来设置socket超时。此示例在Windows/unix系统下编译运行通过。-C realization of TCP / IP socket connections / read / write operation. Select the method used to set the socket overtime. This example in the Windows / Unix systems running
code
- 进程通信的多方法实现。客户机产生两个随机数,发给两个服务器。服务器1(IP地址:192.168.0.1,Port:3254)将这两个随机数相加;服务器2(IP地址:192.168.0.10,Port:3255)将这两个随机数相减。两个服务器分别将运算结果返回给客户机,客户机显示回传结果。 要求用UDP方式,命名管道方式和命名的UNIX域套接字分别实现。 -Multi-process communication method. Client two random numbers gener