基于Linux的网络聊天系统的设计  被引量:2

Design of Network Chat System based on Linux

在线阅读下载全文

作  者:董敏[1] 桑建建 Dong Min;Sang Jianjian(Nanhang Jincheng College,Nanjing Jiangsu 211156,China)

机构地区:[1]南京航空航天大学金城学院,江苏南京211156

出  处:《信息与电脑》2017年第23期142-143,共2页Information & Computer

摘  要:本设计是在Linux环境下实现了C/S架构(即客户端与服务器端架构)的网络聊天室系统。通过C语言来编写客户端程序和服务器端程序,并且使用网络套接字Socket,使得服务器与客户端进行连接和传递信息。本设计应用了多线程的技术,可以避免多个客户端对一个服务器产生任务的混乱。程序通过Makefile编译,经GCC调试器调试,可以顺畅运行。This design is a network chat room system that implements the C/S architecture(the client and server architecture)in the Linux environment.C language is used to write client program and server-side program,and network socket Socket is used to connect and transfer information between server and client.This design applies multithreaded technology to avoid the confusion of multiple clients on one server.The program is compiled by Makefile and debugged through the GCC debugger,and it can run smoothly.

关 键 词:C/S架构 聊天系统 多线程技术 LINUX 

分 类 号:TP316.81[自动化与计算机技术—计算机软件与理论] TP393.09[自动化与计算机技术—计算机科学与技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象