Question: Write the client and server socket java programs that show the Client Port, Server Port, Client IP address and Server IP address. SAMPLE CLIENT OUTPUT:
Write the client and server socket java programs that show the Client Port, Server Port, Client IP address and Server IP address.
SAMPLE CLIENT OUTPUT:
Client Connected to Server/192.168.1.254 on port 7777 from Client port 61263 of /192.168.1.1
SAMPLE SERVER OUTPUT:
Server connected to Client /192.168.1.1 on port 61263
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
