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, 22.06.2019 00:00
Which requirement is an appropriate reason for a business to use it tools
Answers: 3
question
Computers and Technology, 23.06.2019 15:30
Hey so i was just trying out some game hacks so i took a paste from online and built it in my visual studio and then suddenly my computer was working or clicking on stuff on its own am i hacked?
Answers: 1
question
Computers and Technology, 24.06.2019 01:00
Verify each identity[tex] \frac{csc}{cot \: x \: + \: tan \: x} = cos \: x[/tex]
Answers: 1
question
Computers and Technology, 24.06.2019 01:30
Suppose a cpu with a write-through, write-allocate cache achieves a cpi of 2. what are the read and write bandwidths (measured by bytes per cycle) between ram and the cache? (assume each miss generates a request for one block.)
Answers: 1
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
Business, 30.01.2020 13:45
Questions on the website: 13722367