10 likes | 91 Views
Homework No. 2. Assigned: 4/2/2004, Due: 4/12/2004. Review questions (no need to turn in) : 1-6, 9, 11, 13, 15, 21, and 20 (encouraged). Must-Do problems: (to be handed-in) 1. Read the E-mail materials (SMTP and POP3) and do the following:
E N D
Homework No. 2 • Assigned: 4/2/2004, Due: 4/12/2004. • Review questions (no need to turn in) : 1-6, 9, 11, 13, 15, 21, and 20 (encouraged). • Must-Do problems: (to be handed-in) 1. Read the E-mail materials (SMTP and POP3) and do the following: (1) Surfing the Internet and applying for a free email account, e.g., hotmail, yahoo. You can proceed to part (2) if you already had additional account other than the one given by CC, NTUT. (2) Send an E-mail message from your Lab’s PC to the e-mail account you applied in part (1). You are doing the same thing as we showed in the APL handouts (i.e., use SMTP commands instead of using any email agent). (3) Connect to your free account’s POP3 server and retrieve the email message you sent in part (2). Again, you are requested to practice the POP3 commands. 2. Check the result in Problem 1(3). Print out the header of your received message. How many Received: header lines are there? Analyze each of the header lines in the message and try to explain them. 3. Problem 2-6. 4. Problem 2-10. Explain its real usage in Chinese. 5. Problem 2-11. This problem covers pp.133-150, textbook. You can read those pages or simply study the elaborated version from course Web page: http://www.ntut.edu.tw/~kwke/cn/document.html , download the file “JAVA socket programming” from “Documents” listing. Also, you need to get JDK 1.4 or higher to be installed on your PC. The details of Java programming and the description/explanation of TCP/UDP-Client/Server program can be seen from the JSP pdf file. You are encouraged to read at least the first 28 pages to accomplish this problem. 6. Review Base-64 transfer encoding. What would it happen when a group of bit stream less than 24-bit ? (You may check this through a mail agent like Outlook Express. ) • Bonus problem: (handed in individually, add 1-point on your final score if verified) Problem 2-12. (Due date: 4/23/2004, with program disk.)