1.If you haven’t already done so, compile and run the server program
DayTimeServer and its associated client, GetRemoteTime, from Section 2.3. 2.4 Program Echo is similar to program TCPEchoClient from Section 2.2.1, but
has a GUI front-end similar to that of program GetRemoteTime from Section
2. It provides an implementation of the echo protocol (on port 7). This
implementation sends one-line messages to a server and uses the following
components:
• a text field for input of messages (in addition to the text field for input
of host name);
• a text area for the (cumulative) echoed responses from the server;
• a button to close the connection to the host.
Some of the code for this program has been provided for you in file
Echo.java, a printed copy of which appears at the end of this chapter.
Examine this code and make the necessary additions in the places indicated
by the commented lines. When you have completed the program, run it and
supply the name holly.shu.ac.uk (or that of any other convenient server) when
prompted for a server name.
The post Examine this code and make the necessary additions in the places indicated by the commented lines. appeared first on Best Custom Essay Writing Services | EssayBureau.com.
[Button id=”1″]
Thanks for installing the Bottom of every post plugin by Corey Salzano. Contact me if you need custom WordPress plugins or website design.
Hi there! Click one of our representatives below and we will get back to you as soon as possible.