一个朋友的作业,用Socket实现简单的邮件功能,客户端和服务器端。
Computer and Communication Networks(CSIS0234B)
Assigment 1: Simple Mail Service
==============================================
file list
-----------------
MailServer.java
MailClient.java
readme.txt
Key feature
-----------------
1 Server support multi-threads of client
2 Support multi message from client for same user
Support command
-----------------
#USERNAME username of user
#PASSWORD password of user
#SENDTO username send to;
#TITLE title of message send to
#CONTENT content of message send to
#RECEIVE receive message current user logined
#EXIT exit the system
服务器端:
客户端:
本文介绍了一个基于Socket的简易邮件系统的设计与实现,包括客户端和服务端的交互流程、多线程处理方式以及命令解析等核心功能。
754





