Question: Write a server and client programs to emulate a simple DNS application using a port number 3456 for the application on the server side

Write a server and client programs to emulate a simple DNS application using a port number 3456 for the 

Write a server and client programs to emulate a simple DNS application using a port number 3456 for the application on the server side while port number 9876 for the client side. The application of the client should send the website name as a text and receive the associated IP address as a text as well. Implement the application using TCP protocol For example the IP address for www.stc.com.sa is 212.118.156.22 www.ksu.edu.sa is 52.174.29.241 Make sure to submit two java files, the first file is named DNS_TCP_client.java and the second file is named DNS_TCP_server.java

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Below are the Java code snippets for a simple DNS clientserver application using TCP Please create two separate files named DNSTCPClientjava and DNSTC... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!