added support for python bindings

This commit is contained in:
2023-11-10 21:00:24 +00:00
parent 979e856272
commit 708eacd1db
5 changed files with 154 additions and 31 deletions

11
Bindings/python/p2prc.py Normal file
View File

@@ -0,0 +1,11 @@
import ctypes
p2prc = ctypes.CDLL("SharedOBjects/p2prc.so")
p2prc.Init("")
def StartServer():
# Starting P2PRC as a server mode
p2prc.Server()
for _ in iter(int, 1):
pass