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

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 00:40, laurenrubin18
Write a function 'music_func' that takes 3 parameters -- music type, music group, vocalist -- and prints them all out as shown in the example below. in case no input is provided by the user, the function should assume these values for the parameters: "classic rock", "the beatles", "freddie mercury". for example: input: alternative rock, pearl jam, chris cornell output: the best kind of music is alternative rock the best music group is pearl jam the best lead vocalist is chris cornell note: the print statements will go inside the for example: print("the best kind of music is"
Answers: 2
image
Computers and Technology, 22.06.2019 03:30, rebekah2503
Identify at least three types of characteristics that you were asked about as you the computer identify a fruit.
Answers: 3
image
Computers and Technology, 22.06.2019 10:40, Morghurley2000
"it security policy enforcement and monitoring" respond to the following: describe how monitoring worker activities can increase the security within organizations. describe the rationale that managers should use to determine the degree of monitoring that the organization should conduct. explain the extent to which you believe an organization has the right to monitor user actions and traffic. determine the actions organizations can take to mitigate the potential issues associated with monitoring user actions and traffic.
Answers: 3
image
Computers and Technology, 22.06.2019 21:30, mima851
Elements such as fonts colors visual structure graphics and the interface of a web page should complement each other to ensure blank
Answers: 3
You know the right answer?
Create two Java files, one called tcp_client. java and one called tcp_server. java. The client shoul...

Questions in other subjects:

Konu
Mathematics, 24.09.2020 02:01