登录
首页 » 套接字网络编程 » java聊天室服务器端

java聊天室服务器端

于 2022-04-21 发布 文件大小:3.89 kB
0 204
下载积分: 2 下载次数: 1

代码说明:

学校java课程设计,自己写的服务器端代码,不包含数据库部分代码,可以实现循环接受客户端连接,并为每一个客户端开启相应的消息处理线程,包含文件传输,注册,登录验证,群聊消息转发,私聊转发,刚开始学编程,可能写的怪怪的,运行起来效果一般,客户端和数据库部分的代码以后会上传的

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

发表评论

0 个回复

  • 传圣(测试版)说明 本软件适用于装有IP/TCP协议的电脑。 主要功能:电脑间传送大型文件(如电影等)。 主要特点: 1.采用了多线技...
    传圣(测试版)说明 本软件适用于装有IP/TCP协议的电脑。 主要功能:电脑间传送大型文件(如电影等)。 主要特点: 1.采用了多线程技术,速度明显高于同类软件。 2.支持多文件同时传送。 3.支持段点继传,也就是说文件可分多次传送。 4.分服务端和客户端,服务器支持多客户。 5.在传送过程中可实时对话,有聊天功能。 6.为了提高效率,本软件做得短小精悍,两文件只有100K,可以直接运行,不用安装。 7.麻雀虽小,但五脏俱全,功能多,操作方便。 使用方法:在服务端加入要传文件,客户端输入服务端IP地址(服务端运行后会显示),点击连接,即会显示服务端文件,双击即可下载。 现在是测试版,欢迎多提意义。 注意:文件下载后自动存储在客户端软件的目录下。-Chuan-sheng (beta version) to describe the software installed in IP/TCP computer. The main functions : computer-to-computer transmission of large files (such as movies, etc.). Main features : 1. The use of multi-threading technology, which is much higher than similar software. 2. Many documents to support simultaneous transmission. 3. Following the support of the point-in other words documents can be divided into several transmission. 4. Hours services and clients, servers support multiple clients. 5. In the process of transmission immediate dialogue, a chat function. 6. To improve efficiency, the software doing small and o
    2022-02-21 20:43:25下载
    积分:1
  • EVC中的ping的例子,对初学EVC有些帮助
    EVC中网络编程的ping的例子,对初学EVC有些帮助-EVC network programming in the ping example, EVC for beginner some help
    2022-02-04 11:22:56下载
    积分:1
  • ASP+Access的安全隐患及对策
    ASP+Access的安全隐患及对策-ASP+ Access to the security risks and countermeasures
    2022-05-06 10:14:19下载
    积分:1
  • 苹果风格的论坛 asp写,采用的是雪人的核心
    苹果风格的论坛 asp编写,采用的是雪人的核心-Apple style forum asp preparation, the Snowman is the core
    2022-03-30 12:28:57下载
    积分:1
  • 获取本地IP并显示 简单控制台序(已译通过)
    获取本地IP并显示 简单控制台程序(已编译通过)-Access to the local IP and display a simple console program (compiled through)
    2022-03-20 07:47:57下载
    积分:1
  • websocket开发
    Java后端WebSocket的Tomcat实现;连接成功建立的回调方法;接收到消息的回调方法;连接关闭的回调方法;将消息显示在网页上;发送消息
    2022-03-28 18:25:15下载
    积分:1
  • UDP广播通信
    VC++ 写的一个关于UPD广播通信原理及实现,分两个工程,一端是用来发送,另一端用来接收;希望本例子能给您带来帮助。
    2022-11-11 22:50:03下载
    积分:1
  • 简单的socket通信
    流式套接字(SOCK_STREAM),数据报套接字(SOCK_DGRAM)及原始套接字。1.流式套接字提供面向连接、可靠的数据传输服务,数据按字节流、按顺序收发,保证在传输过程中无丢失、无冗余。TCP协议支持该套接字。2.数据报套接字,提供面向无连接的服务,数据收发无序,不能保证数据的准确到达。UDP协议支持该套接字。3.原始套接字原始套接字主要用于一些协议的开发,可以进行比较底层的操作。它功能强大,但是没有上面介绍的两种套接字使用方便,一般的程序也涉及不到原始套接字。
    2023-06-05 11:30:03下载
    积分:1
  • FTP protocol is based on TCP/IP file transfer protocol that is used in the netwo...
    FTP协议是一种基于TCP/IP的文件传输协议,用来在网络中进行文件传输。FTP是TCP/IP的一种具体应用,它工作在OSI模型的第七层,TCP模型的第四层上,即应用层,使用TCP传输而不是UDP,FTP客户在和服务器建立连接前就要经过一个“三次握手”的过程,它带来的意义在于客户与服务器之间的连接是可靠的,而且是面向连接,为数据的传输提供了可靠的保证-FTP protocol is based on TCP/IP file transfer protocol that is used in the network for file transfer. FTP is a TCP/IP to a specific application, it works in the seventh layer of OSI model, TCP model for the fourth layer, namely, the application layer, using TCP transport instead of UDP, FTP client and server must establish a connection before the After a "three-way handshake" process, it brings the significance of the connection between the client and the server is reliable, but also connection-oriented, for data transmission to provide a reliable guarantee for
    2022-02-25 08:53:38下载
    积分:1
  • Addison Wesley
    Addison Wesley - C++ Network Programming Vol 1-Addison Wesley- C++ Network Programming Vol 1
    2022-03-21 05:28:42下载
    积分:1
  • 696516资源总数
  • 106637会员总数
  • 8今日下载