TCP_UDP

所属分类:网络编程
开发工具:C/C++
文件大小:5KB
下载次数:52
上传日期:2011-02-04 14:38:35
上 传 者zyytracy
说明:  TCP和UDP通信的socket编程demo,linux ubuntu下测试通过,有makefile
(socket demo of communicating with TCP/UDP protocols)

文件列表:
Ass3\hrtimer_x86.c (1292, 2010-10-19)
Ass3\hrtimer_x86.h (487, 2010-10-19)
Ass3\Makefile (830, 2010-10-19)
Ass3\TCPClient.c (1775, 2010-10-19)
Ass3\TCPServer.c (1542, 2010-10-19)
Ass3\UDPClient.c (1613, 2010-10-19)
Ass3\UDPServer.c (1052, 2010-10-19)
Ass3 (0, 2011-01-07)

5080379032 Zhou Yuanyuan 1. 1-byte: 0.000382s 10-byte: 0.000389s 100-byte: 0.000409s 1000-byte: 0.000425s 10000-byte: 0.000520s 2. 1-byte: 0.000114s 10-byte: 0.000114s 100-byte: 0.000120s 1000-byte: 0.001706s 10000-byte: 0.051178s Both the two above are repeated 100 times in a for loop in order to get a comparatively accurate result (calculating average time) The results are conducted on testbed on the head node (port 43019) and the node1 (port 43020) 3. 65507

近期下载者

相关文件


收藏者