CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - load file e
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Sub Category
Shot Game
Game Server Simulator
Chess Poker games
Game Engine
Other Riddle games
Mobile games
Other Games
Search - load file e - List
[
Game Program
]
Chatroom
DL : 0
这是一个包含用户界面的聊天软件,使用Java语言进行编辑。 采用了非常高效的编码逻辑,可以实现server端和client端。-It is the implementation of GUI for a chat room program. Behaviors (Server) When the server starts up, it should try to load from “accounts.dat” for saved accounts o Each account consists of the username, the password and last login time of the user o You need to decide how the data should be stored o The file should be created automatically if it does not exist. The server should update “accounts.dat” accordingly whenever is needed. The server should handle connections from clients o When a client login or logout, the server should update all other clients about it o When a client send a message, the server should redirect the message to all other clients o When a client change password, the server should update its record accordingly The server should communicate with the client by sending objects (i.e., using ObjectInputStream and ObjectOutputStream) For the client The buddy list will be updated automatically when someone logged in or out. When a user send a messag
Date
: 2025-12-24
Size
: 7kb
User
:
小水狐
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.