Skip to content

release-v5.0.0 - #150

Merged
oseasandrepro merged 1 commit into
mainfrom
release-v5.0.0
Sep 7, 2026
Merged

oseasandrepro merged 1 commit into
mainfrom
release-v5.0.0

Conversation

@oseasandrepro

Copy link
Copy Markdown
Owner
  • Add port in server constructur
  • Remove auto Ip address detection and binding. Now one need to specify server IP. If not it is used the he standard IPv4 loopback address(127.0.0.1)

look:

# server.py

srpc_server = SrpcCalcServerStub()  #< ---> SrpcCalcServerStub(tls_config = None, host="127.0.0.1", port = 5000 ,num_threads = 8) 

------

srpc_server = SrpcCalcServerStub(port=7000, num_threads = 32)  #< ---> SrpcCalcServerStub(tls_config = None, host="127.0.0.1", port = 7000 ,num_threads = 32) 

-----

srpc_server = SrpcCalcServerStub(tls_config=tls_config, host="192.168.2.49") #< ---> SrpcCalcServerStub(tls_config = tls_config, host="192.168.2.49", port = 7000 ,num_threads = 8) 

@oseasandrepro
oseasandrepro merged commit 7c145f8 into main Sep 7, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant