Description: Use udp protocol for network chat programs.
The chat room includes two parts, Server and Client, and is based on UDP
The implementation. This includes the following functions.
Server:
1. / openchannel channelName
Open new chat rooms
2. / channels
List all the chat rooms available for the service.
3. / enterchannel channelName
Get into a chat channel channel. You can use the list, kickout userid command. straight
Leave the chat room using the leave command.
4. / list
Lists all user lists in the current chat room.
5. / kickout userid
Kick an active user from the current chat room out of the chat room and into the chat room
The active user sends a message that kicks a user out of the chat room.
6. / leave
Get out of the chat room.
7. / closechannel channelname
Close a chat room and send a closure to all active users in the chat room
The message.
Client:
1. / channels
List the active chat rooms of the service.
2. / join channel username
Join the chat channel in the name of username.
3. / list
Lists all user lists in the current chat room.
4. / MSG userid your_message_here
Send a private chat message to the user (other users won't receive it).
5. / MSG your_message_here
Send information to all users of the channel.
6. / leave
Get out of the chat room.
File list (Check if you may need any files):