2 Respostas
+ 7
*Top 7 Python Libraries For Networking Programming*
1 . Asyncio – (Python standard library) Asynchronous I/O, event loop, coroutines and tasks.
Official Link –https://docs.python.org/3/library/asyncio.html
View on Github –https://github.com/python/cpython/tree/3.6/Lib/asyncio/
Latest Version – v3.4
2. Diesel – Greenlet-based event I/O Framework for Python.
Official Website – http://diesel.io/
View on Github –https://github.com/dieseldev/diesel
3. Pulsar – Event-driven concurrent framework for Python.
Official Website –https://docs.pulsarweb.org/en/latest/
View on Github –https://github.com/quantmind/pulsar
4. Pyzmq – A Python wrapper for the ZeroMQ message library.
Official Website –https://pyzmq.readthedocs.io/en/latest/
View on Github –https://github.com/zeromq/pyzmq
Latest Version – v17.0.0
5. Twisted – An event-driven networking engine.
Official Website –https://twistedmatrix.com/trac/View on Github –https://github.com/twisted/twisted
6. TxZMQ – Twisted based wrapper for the ZeroMQ message library.
Official Website –https://pypi.python.org/pypi/txZMQ/
View on Github –https://github.com/smira/txZMQ
7. NAPALM – Cross-vendor API to manipulate network devices.
Official Website –https://napalm.readthedocs.io/en/latest/index.html
View on Github –https://github.com/napalm-automation/napalm
Source: https://www.yeahhub.com/top-7-python-libraries-networking-programming/
+ 3
You can do it with pure socket also but real problem its if either pc can comunicate between... This depends on multiple factors... They are on same subnet? They know receiver ip? They run firewall? They are behind a router?