Python connect 2 pc over internet with sockets

Hi, need to communicate 2 pc over the internet. Those are behind a NAT router, so I need a working example of a communication like this.

Internet server: A python listener

Pc 1: python script that ask server for ip and port of second pc

Pc 2: same

I'd like to make socket connections, and I don't know exactly how it works. Schema is like a typical p2p sctructure. Pc log into sever, so it opens a connection through a public port, and then I guess Pc1 is allowed to send sockets directly to the pc2 without going over the server. Like torrent does.

Port 80 is desired if possible, like teamviewer.

Routines have to be coded, very small and simple. 10 lines better than 20. I don't want libraries, popular scripts, etc. Code from scratch, simple and in Python.

Only people capable to do this, with experience if possible, 1 or 2 days to complete it.

Compétences : Python, Architecture Logicielle

en voir plus : python connection internet, p2p internet python, python socket connect internet, python connect internet, connection python, Socket Listener , pc connection, need a python code that does, listener socket, internet code, code internet, how teamviewer works, d python, python script, over ip, listener, communication port, server 2012 python, python log script, server listener, socket python, port python script, behind nat, p2p python simple, p2p python code

Concernant l'employeur :
( 30 commentaires ) tarragona, Spain

Nº du projet : #2344048

Décerné à:


I have ever done similar script. Please check the PM.

%selectedBids___i_sum_sub_7% %project_currencyDetails_sign_sub_8% USD en 51 jours
(19 Commentaires)

2 freelance font une offre moyenne de $85 pour ce travail


Hello I can do this work. Thanks

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(7 Commentaires)