一个朋友的作业,用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
服务器端:
客户端: