subject

Create two Java files, one called tcp_client. java and one called tcp_server. java. The client should be able to send one message to the server and when the server receives that message, it will capitalize all the letters in that message and send the modified message back. Upon receiving the modified message, the client should close, but the server should remain running, waiting for another connection. Hint: You will need to run these programs simultaneously so you will need to run them in separate terminal or cmd windows. Notes: The table below gives information about what each file should contain.
top_server. java top_client. java
• Will run on the localhost • Connects to the server
• Will start running first • Sends the message to the server
• Receives the message from
the client • Receives the modified message from the
• Makes all the letters in that message
server capital (Ex. Original: hello, • Prints out that message
Modified: HELLO) • Closes connection to the server
• Sends the modified message back to the client
• Remains running waiting for another client to connect

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 22:00
What operating system is a smartphone most likely to use? 1.bsd 2.mac os x 3.symbian 4.linux
Answers: 1
question
Computers and Technology, 22.06.2019 14:30
Create a pseudocode design to prompt a student for their student id and the titles of the three classes they want to add. the solution should display the student’s id and a total bill. • bill a student using the following rules: o students can only add up to 3 classes at a time.
Answers: 3
question
Computers and Technology, 22.06.2019 21:50
Answer the following questions regarding your system by using the commands listed in this chapter. for each question, write the command you used to obtain the answer. a. what are the total number of inodes in the root filesystem? how many are currently utilized? how many are available for use? b. what filesystems are currently mounted on your system? c. what filesystems are available to be mounted on your system? d. what filesystems will be automatically mounted at boot time?
Answers: 1
question
Computers and Technology, 23.06.2019 11:00
How should you specify box sizes on a web page if you want the boxes to vary according to the font size of the text they contain? a. in pixels b. in inches c. as percentages d. in em units
Answers: 2
You know the right answer?
Create two Java files, one called tcp_client. java and one called tcp_server. java. The client shoul...
Questions
question
Mathematics, 19.05.2021 04:10
question
Mathematics, 19.05.2021 04:10
question
Physics, 19.05.2021 04:10
question
Biology, 19.05.2021 04:10
question
Physics, 19.05.2021 04:10
question
Mathematics, 19.05.2021 04:10
question
Mathematics, 19.05.2021 04:10