The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | May 2017 |
| Last Sign in: | 398 Weeks Ago, 4 Days Ago |
| Questions Answered: | 66690 |
| Tutorials Posted: | 66688 |
MCS,PHD
Argosy University/ Phoniex University/
Nov-2005 - Oct-2011
Professor
Phoniex University
Oct-2001 - Nov-2016
A1: A Trivial File TransferApplicationCSC8415 Computer Network ProgrammingDue: 19 Aug 2011Weight: 40%Marked out of: 100Assignments must be your own work except where cited. Any parts copied orallowed to be copied are liable to be penalised.Trivial File TransferTFTP is an non-trivial network application. The objective of this project is to designand implement TFTP using the User Datagram Protocol(UDP).The TFTP protocol is defined by RFC783. It is a simplified version of File TransferProtocol (FTP). TFTP has no feature of directory listing and authentication, butconcentrates on file transfer only.The design of TFTP application include(a) User interface design: This is used by the client to interact with the user. Usercommand put or get starts a file transfer.(b) File transfer design: This component is the one which requires two Finite StateMachines (FSMs) for the client and the server as the formal TFTP protocol.(c) File system module design: This component is responsible for accessing thefile systems of the sender and the receiver. The sender and the receiver haveto read and write corresponding files, respectively. These operations are partof the actions in the FSMs.(d) Network module design: This is to hide the details of the network operationsand provide a higher-level interfaces to the FSMs for the actions which needsnetwork interactions.5CSC8415—Computer Network Programming 6It is shown in Figure 1.ServerFile System File SystemUser interfaceFS interface FS interfaceUser ClientFile Transfer ProtocolFSM FSMNetworkNetwork interfaceThe implementation of TFTP application must be in ANSI C programming language.The server and the client must be implemented as a FSM. The FSM for theserver is slightly different than the one for the client.Task and SubmissionYou should submit a project report and a software package to the examiner.The report can not be more than 10 pages in length, the submission should be inPDF version.In the report, which can be organised into a number of sections, you have to write• a section describing the objectives and methodology of this project,• a section explaining the design principle of the server and the client program,• a section detailing the network packet design, two FSMs for the server and theclient,• and a section demonstrating your software in action,• a section summarizing what you have learned from this project and what youcan improve.Each section could consist of a several paragraphs and you may insert somefigures and tables or screen dumps.The software package, which is based on the server-client paradigm, should atleast include, but not limited to,• two main programs: client.c and server.c• a FSM module: fsm.c and a network module: netudp.c• other files which include all the necessary functions for user interface design,• a makefile and a REDAME fileYour software package must be submitted in the Unix/Linux compressed format,either as studentid.tar or studentid.tgz. For instance, if your student id isw00123456, then your compressed software should be named as w00123456.tar.
Hel-----------lo -----------Sir-----------/Ma-----------dam-----------Tha-----------nk -----------You----------- fo-----------r u-----------sin-----------g o-----------ur -----------web-----------sit-----------e a-----------nd -----------and----------- ac-----------qui-----------sit-----------ion----------- of----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n.P-----------lea-----------se -----------pin-----------g m-----------e o-----------n c-----------hat----------- I -----------am -----------onl-----------ine----------- or----------- in-----------box----------- me----------- a -----------mes-----------sag-----------e I----------- wi-----------ll