Question: I Phase 2: UDP broadcast (4 days week 4) The server should broadcast every 1 second its address and port number for the TCP connection.
I



Phase 2: UDP broadcast (4 days week 4) The server should broadcast every 1 second its address and port number for the TCP connection. This information should be displayed on the server's console. Clients receiving the broadcast message shall display the content, use the address and port information to establish a TCP connection with the server. Tips for the server implementation: . Create a UDP socket Enable the SO_BROADCAST option If to Bind the socket to the same address, enable the SO_REUSEADDR option Add the socket to the master set
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
