Skip to content

Adjust python server gen code - #148

Merged
oseasandrepro merged 5 commits into
release-v5.0.0from
adjust-python-server-gen-code
Sep 7, 2026
Merged

oseasandrepro merged 5 commits into
release-v5.0.0from
adjust-python-server-gen-code

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 43c6959 into release-v5.0.0 Sep 7, 2026
1 check passed
@oseasandrepro
oseasandrepro deleted the adjust-python-server-gen-code branch September 7, 2026 18:05
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