Docsity

Computer Networking Assignment: Developing a User Agent for Network Protocols, Exercises of Computer Networks

Toggle sidebar
bg1
Computer Networking
Assignment-01 Marks: 10
Assigned Date : Tuesday 8 Dec 2009
Last Date of Submission: Tuesday 15 Dec 2009
In this assignment you have to develop a user agent for any of the protocol specified in the list given at
the end of this document, the user agent developed should have the following characteristics
Provide a user interface (GUI or Text) for connecting and disconnecting to server, sending commands
and displaying the responses from server and proper handling of errors e.g. an invalid command entered
should be reported to the user by displaying text or dialog box to the user. For this you may study
respective user agents and their standard features, for example if you are developing a user agent for an
email server, you can download any mail agent and configure and test its execution after studying this
user agent a limited set of features (your own selection) can be implemented in your own user agent, in
case you are developing a text mod user agent study a text based user agent and later implement the
commands however command names can be changed.
Example: MyMailMan
The clients / user agent developed should be able to connect and perform basic function of the protocol
selected, to develop the user agent you may download code of socket programming (only) in a language
of your own choice, you however have to understand the code to use it for development of your own
code.
Submissions
Executable file of your user agent or installer program/package
C:\>mymailman.exe
CopyRight @ Nauman
Welcome to mymailman, type help for command available, each command should be terminated by a
carriage and line feed, enter commands one at a time.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#connect smtp.pieas.edu.pk 25
#connecting - - - - - - -
S > 220 pieas-mail.pieas.edu.pk ESMTP Postfix
C > hi
C >Error! : invalid command ‘hi’ no such command, type help for list of commands
C >exit
S > 221 bye nauman
#_
Docsity.com
pf2

Partial preview of the text

Download Computer Networking Assignment: Developing a User Agent for Network Protocols and more Exercises Computer Networks in PDF only on Docsity!

Computer Networking

Assignment-01 Marks: 10

Assigned Date : Tuesday 8 Dec 2009 Last Date of Submission: Tuesday 15 Dec 2009

In this assignment you have to develop a user agent for any of the protocol specified in the list given at the end of this document, the user agent developed should have the following characteristics

Provide a user interface (GUI or Text) for connecting and disconnecting to server, sending commands and displaying the responses from server and proper handling of errors e.g. an invalid command entered should be reported to the user by displaying text or dialog box to the user. For this you may study respective user agents and their standard features, for example if you are developing a user agent for an email server, you can download any mail agent and configure and test its execution after studying this user agent a limited set of features (your own selection) can be implemented in your own user agent, in case you are developing a text mod user agent study a text based user agent and later implement the commands however command names can be changed.

Example: MyMailMan

The clients / user agent developed should be able to connect and perform basic function of the protocol selected, to develop the user agent you may download code of socket programming (only) in a language of your own choice, you however have to understand the code to use it for development of your own code.

Submissions

Executable file of your user agent or installer program/package

C:>mymailman.exe

CopyRight @ Nauman Welcome to mymailman, type help for command available, each command should be terminated by a carriage and line feed, enter commands one at a time.


#connect smtp.pieas.edu.pk 25 #connecting - - - - - - - S > 220 pieas-mail.pieas.edu.pk ESMTP Postfix C > hi C >Error! : invalid command ‘hi’ no such command, type help for list of commands C >exit S > 221 bye nauman #_

Docsity.com

A report + manual about the user agent developed, the report should describe the code developed, code downloaded, set of commands and their usage and how to use the user agent

Demonstration

After submission of code and report a demonstration session will be help, the user agent should perform as specified in the report.

List of Protocols

  1. SMTP
  2. FTP
  3. Telnet
  4. HTTP
  5. POP
  6. IMAP
  7. DNS (Protocol)
  8. Your Own Protocol

Tip: To understand protocols read the related RFC

Docsity.com