V1.0.2 -- a little more chatty
authorFedor Sevrugin <fedor.sevrugin@gmail.com>
Thu, 6 Feb 2025 01:51:46 +0000 (04:51 +0300)
committerFedor Sevrugin <fedor.sevrugin@gmail.com>
Thu, 6 Feb 2025 01:51:46 +0000 (04:51 +0300)
fedordpi.py

index 78feec0b99082c8edf548a0d92329ea5da162544..41348c797f8954886f5b589af42b88bdaf28ced1 100644 (file)
@@ -77,5 +77,7 @@ async def fragemtn_data(local_reader, remote_writer):
     await remote_writer.drain()
 
 
-asyncio.run(main(host='127.0.0.1', port=8881))
-
+host = '127.0.0.1'
+port = 8881
+print(f'proxy: {host}:{str(port)}')
+asyncio.run(main(host=host, port=port))