This script creates a socket and then connects to a public DNS server at IP address 8.8.8.8 on port 80. The IP address of the computer is then returned by calling getsockname() on the socket object.
Create a list of selectable adapters, Example: Ethernet & Uplink. Script should prompt for a selection of the adapters by entering 1 or 2 into the command prompt From there, the script should ask if ...