Computers and Technology

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

answer
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 23:50, Crull5999
List a few alternative options and input and output over the standerd keyboard and monitor. explain their functioning in details.
Answers: 2
image
Computers and Technology, 23.06.2019 00:30, lilobekker5219
Knowing that the central portion of link bd has a uniform cross sectional area of 800 mm2 , determine the magnitude of the load p for which the normal stress in link bd is 50 mpa. (hint: link bd is a two-force member.) ans: p = 62.7 kn
Answers: 2
image
Computers and Technology, 23.06.2019 03:50, dondre54
Q-1 which of the following can exist as cloud-based it resources? a. physical serverb. virtual serverc. software programd. network device
Answers: 1
image
Computers and Technology, 23.06.2019 22:30, kayelynn003
How many points do i need before i can send a chat
Answers: 1
Do you know the correct answer?
Create two Java files, one called tcp_client. java and one called tcp_server. java. The client shoul...

Questions in other subjects:

Konu
History, 17.09.2021 15:50
Konu
Mathematics, 17.09.2021 15:50
Konu
Mathematics, 17.09.2021 15:50