本文针对实际应用,提出了一种基于IOCP完成端口的服务器设计方法,实现了利用不多的线程为成千上万用户提供网络服务,解决了多线程下共享资源的保护问题和网络传输中常见的一些问题,设计并实现了一套新闻交换平台系统,该系统目前在武汉电视台成功运行。关键字: IOCP;多线程;网络传输;新闻交换Abstract : To meet the practical requirement,a design method to realize theserver based on IOCP is proposed in this paper,which uses little threadto provide the services for lots of users.Some problems such as sharingresources under multithreading,network transmission and so on aresolved,And a News-Exchange Platform which now is used in WUHAN-TV arerealized in this paper.Key words : IOCP; Multithreading; Network Transmission;News-Exchange
猜您喜欢
评论