[tor-dev] TOR socket for P2P in Python

2022-08-11 Thread Martin Neuenhofen via tor-dev
Dear Tor Developers, in my application, a client connects to a server via: *client_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)client_socket.connect(ip,port)* I want to replace these two lines to create a client_socket whose IP address cannot be seen by the server. The application

Re: [tor-dev] TOR socket for P2P in Python

2022-08-11 Thread Martin Neuenhofen via tor-dev
Sorry to bother again. An equally good solution to replacing *client_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)client_socket.connect(ip,port)* with a TOR solution could be via a command line interface: os.system("torsocketprogram -send 123.45.67.89 9000 filename.bytes") and os.syst