Essentials of socket online | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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?

16th Dec 2016, 10:13 PM
Artur Wagner
Artur Wagner - avatar
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.
17th Dec 2016, 6:36 PM
James Durand
James Durand - avatar
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.
30th Dec 2016, 5:20 AM
last
last - avatar