Search code examples
pythonsocketsnetwork-programmingserverclient

How to establish a connection between two computers wirelessly?


Maybe is my question a little bit weird, but I am looking for an answer since couple days. The only thing what I found were sockets and asyncio(dont really know what it is) , but with sockets you can establish a connection just in your localhost. Is there any otherways to creat a connection between two quite different pcs or between a client and server wireless.

If you have any ideas just write, maybe it could be helpful. As a beginner in python, I would be happy if you guys could show me some way to find easy tutorials (maybe some websides) and important things to learn. So everything could be helpful, I am just curious. :)


Solution

  • You can create a server / client pair, through executables running on both PCs. TCP and UDP sockets can be used to communicate outside 'localhost'. You can do this rather easily in many programming languages like C, C#, python amongst others.