Question: Using PYTHON language create a UDP p2p chat code. Program should keep a list of peers indicating if they are online or offline. When peers

Using PYTHON language create a UDP p2p chat code.

Program should keep a list of peers indicating if they are online or offline.

When peers disconect a packet with the message "Leave" should be send automatically.

When peers keep online a pocket with the message "alive" should be send every 5 seconds automatically.

The peer sets a port range for searching for other peers (Default: 12000 12010). The peer sets an IP range for searching for other peers (Default: 10.31.21.0 - 10.31.21.255).

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Databases Questions!