Take the connection address as an input argument and attempt to establish a connection. Wait for any responses and print them if received. If the user enters a message send it to the other client.
When this step is done you should be able to invoke your script in two separate terminals on your computer with the same address and send messages between them.
Using the socket library https://docs.python.org/2/library/socket.html
Take the connection address as an input argument and attempt to establish a connection. Wait for any responses and print them if received. If the user enters a message send it to the other client.
When this step is done you should be able to invoke your script in two separate terminals on your computer with the same address and send messages between them.