The server will work as a conversion app. The client will ask for the user to en
ID: 3677219 • Letter: T
Question
The server will work as a conversion app. The client will ask for the user to enter a temperature in the form “80F” or “16C” to be converted. Note that the client should be able to enter either Fahrenheit or Celsius temperatures. Invalid entries (being anything not in the format “xF” or “xC” where x is any real float value) should be turned down by the client and the program should ask for new entry until the user enters a valid input. The server should then receive the user’s entry by any means and convert the given temperature into its counterpart, sending the converted temperature back to the client.
The nature of the app is to collect an entry from the user, send the data to the server, have the server convert the data, send the data back to the client, and display the converted data to the user. The program should run through only once, and both the client and server should terminate once finished. Keep in mind that it’s possible for either the server or the client to terminate while the other is sending data – if this happens it’ll result in a Connection Reset error. If you encounter this error, make sure that both your classes stay connected beyond sending data.
GUI applications or stand-alone executables
Explanation / Answer
udpclient:
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.