+ 1
Essentials of socket online
what i need to do to be able to send data over internet? i know that i need to portford it but is there anything else?
2 Answers
+ 2
You'll probably want to choose a format for how data is sent and you'll want to figure out how the computers will find each other. This could mean that you use some kind of discovery mechanism, have the user enter an IP address or a domain name.
0
check out the Python docs for the module "socket" https://docs.python.org/3/library/socket.html#module-socket there is an client/server echo example near the bottom of the page.