首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > Linux下的聊天室

Linux下的聊天室

  • 资源大小:11.58 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签: Linux编程 c 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

文 件 列 表

Linux chat
chat.h
chat_client.c
chat_server.c
chat_server.h

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP