发布
loading-left
loading loading loading
loading-right

加载中

个人主页
TA还没有准备介绍自己
TA的源代码 (2)
Linux下的聊天室
暂无评分
应用背景 ThisistheserverandclientcodeinCforasimplechatprogramformultipleclientcommunication. Thisrepositorycontainscodeforaverysimplechatprogramimplementedonthelinuxsystem,usingbasesystemlibrariesandtheCprogramminglanguage.Theprogramconsistsoftwomajorcomponents,thefirstbeingtheserverprogramandthesecondistheClientprogram. 关键技术 Theserverprogrammaintainsalistofclientsandalsoaqueueofclientmessages.Itusessemaphorestomakesuresynchronisationerrorsdonotoccur. Theserverprogramacceptsoneoptionalinputargument–listen_port_number.Ifthisargumentismissed,theserverwillusethedefaultportnumber3500(definedintheprovidedheaderfilechat_server.h).Onceitstarts,itrunsforever.Toter
ioter_h
2016-08-23
0
1
NS2的TCP协议下数据测量仿真
4.3分
应用背景通过设置网络场景,编写仿真脚本、仿真,图形化仿真结果,编写tcl脚本,在脚本中设置网络环境,并设置好相关网络的参数,测量tcp协议下的数据,可以设置一条udp协议的链路作为背景链路,这样既真实也可以仿真延时和抖动的真实环境,通过对设置的网络参数进行仿真,仿真后的结果记录到out.tr的追踪文件中,然后编写脚本文件mymeasure-delay.awk和mymeasure-jitter.awk数据提取分析out.tr中的关于tcp的数据保存到一个自设名为tcp_delay和
ioter_h
2016-08-23
1
1
没有更多了~