Linux下的聊天室
代码说明:
应用背景 This is the server and client code in C for a simple chat program for multiple client communication. This repository contains code for a very simple chat program implemented on the linux system, using base system libraries and the C programming language. The program consists of two major components, the first being the server program and the second is the Client program. 关键技术 The server program maintains a list of clients and also a queue of client messages. It uses semaphores to make sure synchronisation errors do not occur. The server program accepts one optional input argument – listen_port_number. If this argument is missed, the server will use the default port number 3500 (defined in the provided header file chat_server.h). Once it starts, it runs forever. To ter
下载说明:请别用迅雷下载,失败请重下,重下不扣分!