登录
首页 » Windows Socket编程 » 实现了客户端和服务器的 小型socket聊天软件

实现了客户端和服务器的 小型socket聊天软件

于 2022-03-04 发布 文件大小:253.19 kB
0 156
下载积分: 2 下载次数: 1

代码说明:

实现了客户端和服务器的 小型socket聊天软件-Realize the client and server socket small chat software

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 一个非常简单的例子,根据域名获得IP地址列表.主要用到了IPHostEntry类以及GetHostByName方法....
    一个非常简单的例子,根据域名获得IP地址列表.主要用到了IPHostEntry类以及GetHostByName方法. -A very simple example, under the domain name to obtain a list of IP addresses. IPHostEntry the main use of the category, as well as methods gethostbyname.
    2022-03-05 18:07:54下载
    积分:1
  • purpose : structural frame for understanding the concept of network protocol, th...
    目的: 构造帧对于理解网络协议的概念、协议执行过程,以及网络问题处理的一般方法具有重要的意义。本次练习的目的是通过数据链路层与介质访问控制层的学习,根据数据链路层的基本原理,针对普遍应用的Ethernet帧,通过构造一个具体的帧,引导同学深入理解网络协议的基本概念与网络问题处理的一般方法。 要求: 1、编写程序,根据给出的原始数据,组装一个IEEE802.3格式的帧。题目附带的文件为二进制原始数据(文件名分别为input1和input2),要求程序为命令行程序,比如可执行文件名为framer.exe,则命令行形式如下: framer inputfile outputfile inputfile为原始数据文件,outputfile为输出结果。 操作系统、使用语言和编译环境不限,但在交作业同时要求注明。 2、输出:对应input1和input2的结果分别为output1和output2 3、要有良好的编程规范和注释 4、写文档 -purpose : structural frame for understanding the concept of network protocol, the implementation of an agreement, network issues and the general approach has important significance. The purpose of the exercise through the data link layer and the MAC layer of learning, according to the data link layer to the basic principles against the universal application of the Ethernet frames, by constructing a concrete frame, to guide students in-depth understanding of network protocols and the basic concepts of network issues to deal with the general approach. Requi
    2022-03-06 07:04:47下载
    积分:1
  • 一个简单的采用UDP网络协议的通讯传输测试序,包括所有的源码...
    一个简单的采用UDP网络协议的通讯传输测试程序,包括所有的源码-A simple UDP network protocol used for communications transmission testing procedures, including all of the source
    2022-02-24 22:56:35下载
    积分:1
  • Jboss的安装与使用 1.1、软件安装 1.2、环境变量的设置 1.3、运行 1.5、把JBoss安装为Windows2000的系统服务 JBoss中和数据库...
    Jboss的安装与使用 1.1、软件安装 1.2、环境变量的设置 1.3、运行 1.5、把JBoss安装为Windows2000的系统服务 JBoss中和数据库的连接-JBoss installation and use of the 1.1, 1.2 software installed, the environment variable settings 1.3, running 1.5, JBoss installed as a Windows system services JBoss and database connectivity, etc.
    2022-05-21 11:03:42下载
    积分:1
  • 模拟路由器的小序,可以发出一个MAC地址的ARP请求,然后…
    模拟路由器的小型程序,可以发出arp请求获得mac地址,进而转发数据包-Simulated router small procedures, may issue a mac address arp request, and then forwarding the packet
    2022-03-30 02:28:39下载
    积分:1
  • a select model Chat client
    一个select模型的聊天客户程序-a select model Chat client
    2022-07-17 01:28:50下载
    积分:1
  • C2风格的局域网聊天序,实现局域网中两个Client聊天。这个序分Server和Client两部分,但是和网上流行的Server与Client聊天不同,它是...
    C2风格的局域网聊天程序,实现局域网中两个Client聊天。这个程序分Server和Client两部分,但是和网上流行的Server与Client聊天不同,它是实现的Client与Client 聊天,Server 仅仅提供消息转发功能,因此执行程序时,首先必须有两台以上的电脑来执行,必须保证两个Client(Client程序是相同的,因此只要复制两个Client就行)在不同的局域网上的电脑,局域网中只要有一个Server就行,通过输入IP以及确认码(其实就是端口号,要保证两个Client的端口号相同,且两个Client的IP地址不同,即不在同一电脑上),就能实现一个Client和另一个Client聊天(当然Server必须运行,且必须按提示输入信息),本程序基于UDP协议,并且利用多线程编程实现了程序的背景音乐(系统的Beep声音必须打开才能听见)以及正常退出功能(点右上角的“差”是非正常退出!),当初设计的时候使得两个Client端口号必须相同,今后会设计出两个Client端口号不同,这样就能在一台机子上执行程序了。 -This program has the function that it can make two Clients communicate on the LAN.The program has Server and Client two parts.However,it is different from the popular CS chat program which has the function of communicating from Server and Client on the web.It makes two Clients chat.The server only be assigned to transmit messenger from one Client to another.So,you should have more than two Computer to run the program,and to ensure that two Clients on the different Computers which is on the same LAN.The LAN has one Server is OK
    2022-12-17 06:10:05下载
    积分:1
  • 中软培训资料
    中软培训资料 - 大企业内部培训资料,大家可有福了,赶快下载吧。-Training materials in the soft- big business in-house training materials, we may be blessed, and quickly download the bar.
    2022-06-29 00:30:01下载
    积分:1
  • 它是一个套接字服务器。它接受来自客户端的连接和打印的连接…
    It is a socket server. It accepts a connection from client and prints on the console a message that client writes
    2022-08-26 11:57:19下载
    积分:1
  • 自己使用的用于avr单片机的源序,包含ne2000兼容网卡的驱动...
    自己使用的用于avr单片机的源程序,包含ne2000兼容网卡的驱动-its own use for avr SCM source, including ne2000 compatible NIC drivers
    2022-02-20 14:37:55下载
    积分:1
  • 696516资源总数
  • 106409会员总数
  • 8今日下载