⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 default.htm

📁 this gives details of the network programming
💻 HTM
字号:
<HTML><HEAD><TITLE>NetProg Homework 7</TITLE><LINK rel=stylesheet type="text/css" HREF=../../style/proj.css></HEAD><BODY BGCOLOR=WHITE MARGINHEIGHT=0 MARGINWIDTH=0 TOPMARGIN=0  LEFTMARGIN=0><TABLE bgColor=#8899aa border=0 cellPadding=4 cellSpacing=0 width="100%">  <TR>    <TD class=title>&nbsp NetProg 2002 HW7</TD> </TR><TR BGCOLOR=BLACK><TD CLASS=menu> &nbsp &nbsp<A CLASS=menu HREF=#desc>Project Description</A> &nbsp &nbsp |&nbsp &nbsp<A CLASS=menu HREF=#deliv>Deliverables</A> &nbsp &nbsp |&nbsp &nbsp<A CLASS=menu HREF=#grading>Grading</A>  &nbsp &nbsp |&nbsp &nbsp<A CLASS=menu HREF=#submitting>Submission</A></TD></TR></TABLE><DIV CLASS=page><H2 style="font-size: 16pt; color:black; text-align:center;">Homework 7: RPC or RMI based URL parser/creator<BR>Due Date for Local and live remote students: Mon, April 29th (by11:59PM)<BR>Due Date for Tape and Videostream Delay students: Mon, May 6th</H2><H4 ALIGN=CENTER>Late Penalty: 100% <SPAN STYLE="color:red;">No extensions!</SPAN></H4><H4 ALIGN=CENTER>Submit to <I>netprog-submit@cs.rpi.edu</I> with the subject line "7"<BR>Complete Submission instructions are <A HREF=#submitting>here</A></H4><A NAME=desc><HR></A><P>This project involves the creation of either an RPC (C or C++)client and server, or a JAVA RMI based system. The actual servicesprovided by the remote procedures/methods are not that significant,the idea is to play with either RPC or RMI.</P><P>The service provided by remote procedures/methods are thefollowing (there should be one remote procedure or method for each service):</P><DIV CLASS=in><P><B>1: URL parsing</B><BR>Given a URL (a single string),break it up in to a scheme (protocol), hostname, port, file andquery. Your remote procedure must return a data structure thatcontains each of these components (the server must do the parsing!).</P><P>This procedure should be passed a string that is a URL and shouldreturn a collection of the components (in C, you probably want astruct, in Java you cannot return a URL object, make up your own data type (Class).</P><P><B>2: URL creation</B> Given a scheme, hostname, port, file andquery, your procedure should return a single string that is a URL.You must pass each of the components of a URL to the remote procedure,(the server must put them all together).</P><P>This procedure should be passed a collection of the components andshould return a string that is the resulting URL.</P></DIV><P>You decide how to represent each component of a URL (I would assumemost parts are strings, but the port could be an int) and how theclient will get this information from the user (command line is fine).You decide how to print out the result in the client.</P><P>If you are using Java, feel free to use a URL object to do the work(parsing and URL construction) for you, but you need to use your ownobjects to represent a collection of the components (could be a newClass or perhaps a list of strings).</P><P><B>IMPORTANT!</B> You need to include detailed instructions on how to build and testyour client and server, otherwise we will not be able to test yourcode and you will receive a 0. Make sure you include this information,the grading will need to be done right away so that final grades canbe computed. The TAs are being told to give a grade of 0 to anysubmission that they cannot test due to lack of information from thestudent!</P><A NAME=deliv><H3>Deliverables</H3> </A><P>You should submit all the files necessary to build and run yourclient and server.Your submission must also include a file named READMEthat includes the following: </P><UL><LI><P>Your Name</P></LI><LI><P>Detailed instructions on how to build and run your client and server.</P></LI><LI><P>A list of files and a 1-line description of the contents of each file. </P></LI><LI><P>References to any borrowed code (the source code must also include this information).<P></LI><LI><P>A description of any known problems. If you think you know how to solve the problem(s) and simply didn't have time to do so - let us know how!</P></LI><LI><P>Anything else you think might be useful to us, such as what youlearned, what you had trouble with, if the project was too hard or tooeasy, etc.</P></LI></UL><A NAME=grading><H3>Grading</H3></A><P>Make sure your code (RPC or Java) can run on the CS Suns!</P><P>Points will be awarded as follows (partial credit is available foreach item): </P><TABLE BORDER=0><TR> <TH WIDTH=60% ALIGN=LEFT>URL construction procedure</TH>     <TD>35%</TD></TR><TR> <TH ALIGN=LEFT>URL parser procedure</TH><TD>40%</TD></TR><TR> <TH ALIGN=LEFT>Code Style/readability</TH> <TD>25%</TD>  <TR> </TABLE>  <A NAME=submitting><H3>Submitting your files</H3></A><P>Submission of your homework is via email, the general idea is tosend an email message with all your files as attachments. There is an automated email submission system that will respond to yoursubmission right away, so you will have a record that we got yourfiles. </P><P>All projects must be submitted via email to <AHREF=mailto:netprog-submit@cs.rpi.edu><I>netprog-submit@cs.rpi.edu</I></A>. Thesubject line of the submission message should contain a single numberindicating the project number 7 for HW7). You mustinclude your files as attachments, feel free to send a zip-file or atar file.<P><B>Don't send compiled code (or bytecode)!</B></P><P>You can expect a return email indicating receipt of your projectsubmission immediately. This receipt will include a list of all thefiles that were successfully extracted by the submission script -please look over the receipt carefully to make sure your submissionworked.</P><P><B>Multiple Submissions: </B> You can resubmit up to 10 times foreach project, we will always grade the last submission received unlessyou tell us otherwise.</P></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -