-
简单的Java聊天室系统
C/S实训开发模拟
运用Java程序编程聊天室,实现简单的聊天功能。它是以图形界面,线程,数据流等技术的综合应用。其界面主要采用了java.awt包,java.swing包以及java.util包等。程序实现了聊天室的基本功能,其中有:
1. 启动服务器;
2. 进入客户端界面;
3. 登录聊天室;
4. 发送信息(发送按钮);
5. 关闭服务器(关闭按钮)。
要实现用户与服务器相连接,就要用到Java网络编程的知识。当客户需要通信时,它们可以通过使用socket类建立套接字对象并连接在一起,当客户端对象建立后,客户端socket对象可以使用方法getInputStream()获得一个输入流,这个出入流的源和服务器的一个输出流的目的地刚好相同,所以,客户端用输入流可以读取服务器写入到输出流中的数据,客户端Socket对象使用方法getOutputStream()获得一个输出流,这个输出流的目的地和服务器端的一个输入流的源刚好相同,因此服务器用输入流可以读取客户写入到输出流中的数据。为了能使客户成功地连接到服务器,服务器必须建立一个ServerSocket对象,该对象通过将客户端的套接字对象和服务器端的一个套接字对象连接起来,从而达到连接的目的。当服务器的ServerSocket
- 2022-03-23 13:31:03下载
- 积分:1
-
In the VC++ environment to achieve the related binary operation ... ...
在VC++环境下实现二叉树的相关操作-In the VC++ environment to achieve the related binary operation ... ...
- 2023-08-13 21:45:03下载
- 积分:1
-
= = = = = = =
=== === =
Transform Picture !
Zoom in, zoom out and change color on fly!
This code is free to use for any purpose,
you should keep the original copyright:
Copyright (C) 2003 Free Code
http://www.emu8086.com/vb/
For comments: info@emu8086.com
===========================================
It s not my best code :)
but still worth looking at.
My greatest work is "Real Show", you can
find it on my web site:
http://www.emu8086.com/vb/
I wrote it both in Java and VB, so it
can work directly from your web site !!
I hope to update this sample, and add more effects
in the near future!
-=== === === === =
Transform Picture !
Zoom in, zoom out and change color on fly!
This code is free to use for any purpose,
you should keep the original copyright:
Copyright (C) 2003 Free Code
http://www.emu8086.com/vb/
For comments: info@emu8086.com
===========================================
It s not my best code :)
- 2022-01-25 20:45:22下载
- 积分:1
-
MFC实例A1
mfc examples a1
- 2022-08-21 23:32:03下载
- 积分:1
-
C++ GDI 不规则透明按钮 完整的源代码
VS 2008的完成 工程 源代码 全透明 按钮 PNG图片 可以实现透明按钮 和不规则图形 按钮。。。
- 2022-04-07 16:25:45下载
- 积分:1
-
com111.zip
com111.zip
- 2022-09-27 20:10:02下载
- 积分:1
-
ASP.NET_ website design example code examples _
ASP.NET_网站设计实例通_实例代码-ASP.NET_ website design example code examples _-
- 2023-02-19 16:35:04下载
- 积分:1
-
经典贪吃蛇WinForm代码
资源描述
winform写的简单的贪吃蛇游戏,可作开发和学习参考。
可以简单设置长度和速度,具备音效等功能。
欢迎大家指导和讨论,一起学习进步!
- 2023-06-23 05:10:03下载
- 积分:1
-
简单遗传算法
遗传算法是基于达尔文进化论的一种智能优化算法,适用于解决传统方法难以解决的复杂的、非线性问题,可广泛应用于组合优化、离散优化、工程优化等领域。...
简单遗传算法
遗传算法是基于达尔文进化论的一种智能优化算法,适用于解决传统方法难以解决的复杂的、非线性问题,可广泛应用于组合优化、离散优化、工程优化等领域。-
Single Genetic Algorithm
- 2022-02-13 16:26:30下载
- 积分:1
-
进程管理器
进程资源管理器,可以显示正在运行的进程,线程和模块。其着找到基地,并开始地址。例如,使用
EnumProcessModulesEx和NtQueryInformationThread功能在C#。
void PrintModules (Int32 ProcID)
{
IntPtr hProcess = OpenProcess(ProcessAccessFlags.QueryInformation | ProcessAccessFlags.VMRead, false, ProcID);
if (hProcess != IntPtr.Zero)
&nbs
- 2022-01-22 17:14:27下载
- 积分:1