Question: java Suppose that a system has three servers. Consider that each server has a list of contact information (IP plus port w) of other servers.
javaSuppose that a system has three servers. Consider that each server has a list of contact information (IP plus port w) of other servers. Each server has a text file, and each line in the text file contains a name and IP address of a host separated by a dash. Write TCP servers that receives IP addresses from TCP clients, reads the associated name from the file and replies with the assodated hostname. If the server doesn't find the IP in the local file, it should try to find the information in other remote servers. 1 " B T !!!! TII 1 re to search II Suppose that a system has three servers. Consider that each server has a list of contact information (IP plus port w) of other servers. Each server has a text file, and each line in the text file contains a name and IP address of a host separated by a dash. Write TCP servers that receives IP addresses from TCP clients, reads the associated name from the file and replies with the assodated hostname. If the server doesn't find the IP in the local file, it should try to find the information in other remote servers. 1 " B T !!!! TII 1 re to search
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
