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

请先连接socket #4

Open
weiguoping2014 opened this issue Jul 13, 2018 · 2 comments
Open

请先连接socket #4

weiguoping2014 opened this issue Jul 13, 2018 · 2 comments

Comments

@weiguoping2014
Copy link

帮忙检查一下,怎么连接不上

@479493023
Copy link

我测试了下 也不能用 能不能写个使用说明啊

@HouBin506
Copy link
Owner

Socket socket = new Socket(服务器IP, 服务器端口号);

请检查一下,你的客户端代码中,Socket传入的IP和端口号,是否与你服务器端的IP、端口号相同。

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

3 participants