Echo client-server application

Assignment Help JAVA Programming
Reference no: EM13808281

ASSIGNMENT 1- An echo client-server application

You are required to develop an application that allows clients running on MS Windows platforms to send sequences of strings to an echo server running on a windows platform. The server simply echoes each string back to the client. Just design the two programs on one computer. Note that the server will have to run first before the client begins.

Connection is terminated when the string "bye" is sent to the server.

The client program should

· Allow the user supply the IP address and port number of the server.
· Allow the user to initiate a connection.
· Support dialog with the user such that the user can see the strings he has sent and the responses from the server.

The server should, on accepting a connection request, send a greeting message immediately.

Reference no: EM13808281

Questions Cloud

Develop a forecasting model and project attendance : 1. Develop a forecasting model and project attendance through 2014. 2. What revenues are to be expected in 2013 and 2014?
Personal property insured under an unendorsed homeowners : Megan has her home and personal property insured under an unendorsed Homeowners 3 (special form) policy. Indicate whether each of the following losses is covered. If the loss is not covered, explain why it is not covered. A garbage truck accidentally..
Develop a thesis pertaining to the assigned film text : Develop a thesis pertaining to the assigned film text
Use three or more dimensions in the array : 1. Come up with an idea of an array that would use three or more dimensions (such as year, month, and day). Present the idea with a brief introduction. 2. Discuss what information would be stored at different locations in the array.
Echo client-server application : ASSIGNMENT 1- An echo client-server application, You are required to develop an application that allows clients running on MS Windows platforms to send sequences of strings to an echo server running on a windows platform
Cost of capital is low-there is little demand for product : If the cost of capital is low and there is little demand for the product, would companies still expand their capital investment?
Comparative advantage in the production of fruit : a.  Which country has an absolute advantage in the production of fruit? Which country has an absolute advantage in the production of timber?  b. Which country has a comparative advantage in the production of fruit? Of timber?
How do you anticipate bottlenecks when planning for project : What advantages and limitations of project management are identified in the simulation? How do you anticipate bottlenecks when planning for a project
What is the value today : What is the value today of $3,300 per year, at a discount rate of 8 percent, if the first payment is received 7 years from today and the last payment is received 25 years from today? (Do not round intermediate calculations and round your final answer..

Reviews

Write a Review

 

JAVA Programming Questions & Answers

  Write a void function this passed three integers

1. Write a void function this passed three integers by reference. The function should rearrange the parameter values so that the first parameter will get the smallest value; the second parameter the middle value; and the third parameter the largest v..

  Virtual machine forensics

Determine what you perceive to be the greatest challenge when dealing with virtual machines from a system forensics perspective. Provide a rationale with your response.

  Approximate the volume of cheese in a rectangular hunk

You will create a program that will approximate the volume of cheese in a rectangular hunk of Swiss cheese. For this approximation you will assume that the holes in the Swiss cheese are of two types: spherical bubbles (all of the same size) or cyl..

  Assignment on java applets and activex controls

Go online and search for information about security threats posed by Java applets and ActiveX controls. Note that most of these programs are small in size and downloaded onto computers over the Internet.

  How many numbers do you want to enter

Write a program that asks the user "How many numbers do you want to enter?" With that value, create an array that is big enough to hold that amount of numbers (integers).

  Write a jsp webpages ask the user to enter data

Write a jsp webpages ask the user to enter the following data- First name, Last name

  Write a simple java program that will read an array of info

write a simple java program that will read an array of information containing the information (Name, offence [between arson, assault or theft] and year of offence

  Displays a drawing for the popular hangman game

Write a program that displays a drawing for the popular hangman game

  What is an infinite loop

What is an "off-by-one error"? Give an example for it from your experience.What is an infinite loop? Write a for statement to demonstrate it.

  Write a program using an array that will store

Using java programing : Write a program using an array that will store input data. Prompt the user for and read 6 numbers between 70 and 90. Verify the numbers should be greater than 70 and less than 90. If the number is less than

  Write a java program that declares an array alpha of 50

Write a Java program that declares an array alpha of 50 elements of type double. Initialize the array so that the first 25 elements are equal to the square of the index variable, and the last 25 elements are equal to three times the index variable. O..

  Write the code and output result1 real cash register can

write the code and output result.1. real cash register can handle both bills and coins. design a single class that

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd