Question: I need help with creating a socket server that handles these functions. This is for JAVA code. Thank you! Create two (2) programs: 1) an
I need help with creating a socket server that handles these functions. This is for JAVA code. Thank you!
Create two (2) programs: 1) an iterative (single-threaded) server that accepts requests from clients, and 2) a multi-threaded client capable of spawning numerous client sessions that connect to the server
The server and client programs must connect to the same network address and port
The iterative (single-threaded) server should handle one client request at a time (serially)
The Java ServerSocket object caches client requests automatically
The iterative (single-threaded) server must support the following client requests:
Uptime - how long the server has been running since last boot-up
Memory Use - the current memory usage on the server
Netstat - lists network connections on the server
Current Users - list of users currently connected to the server
Running Processes - list of programs currently running on the server
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
