Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

可否给IClient添加一个接口允许socket绑定本机的指定端口与IServer进行通信 #29

Closed
timi-owo opened this issue Nov 16, 2017 · 1 comment

Comments

@timi-owo
Copy link

如题,现在的IClient里虽然有StartWithBindAddress可以绑定IP地址,但是并不能绑定端口,每次都是随机分配的,虽然可以获得随机分配的端口号,但还是有点不方便,希望作者或者大佬可以添加一个StartWithBindAddrAndPort接口允许用户绑定本机的IP和端口进行通信 :)

@ldcsaa
Copy link
Owner

ldcsaa commented Nov 20, 2017

OnPrepareConnect() 事件中自己bind

@ldcsaa ldcsaa closed this as completed Nov 20, 2017
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

No branches or pull requests

2 participants