Problem:

Write a client and a server program where the server can be connected by one client at a time. The client will send a message (a complete sentence) to the server and the server will count the total number of vowels present in that message and will return that number to the client. The client will print that number. If the client wants to close the connection, it will send Bye message to the server. Upon receiving that message, the server will close that particular connection.

Requirements:

1.Create a C or Java based client-server architecture using sockets

2.The server should be able to accept and service multiple clients requests one at a time

3.The server should be run on cse01.cse.unt.edu machine and the clients should be run on any machine between cse02.cse.unt.edu and cse06.cse.unt.edu. The IP address of cse01.cse.unt.edu is 129.120.151.94

Example:

Client sends a message A quick brown fox jumps over the lazy dog to the server. The sever counts the number of vowels present in that message, i.e. 11. It sends that number to the corresponding client. The client then prints the message The number of vowels present is 11.

Instructions:

Compile your programs (both client and server) and make sure they are working. Your code should be well commented and indented. Create a Readme file (text file) and write how to compile and execute your code.

Academic Honesty!
It is not our intention to break the school's academic policy. Posted solutions are meant to be used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly complete the form. Please provide a valid email address and we will get back to you within 24 hours. Payment is through PayPal, Buy me a Coffee or Cryptocurrency. We are a nonprofit organization however we need funds to keep this organization operating and to be able to complete our research and development projects.