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

AsyncSocketDemo #1

Open
AllisonWangJiaoJiao opened this issue Jun 28, 2016 · 1 comment
Open

AsyncSocketDemo #1

AllisonWangJiaoJiao opened this issue Jun 28, 2016 · 1 comment

Comments

@AllisonWangJiaoJiao
Copy link

你好,刚刚接触socket,运行demo,出现这个输出,是正确的吗?willDisconnectWithError 0 err = Error Domain=AsyncSocketErrorDomain Code=2 "Attempt to connect to host timed out" UserInfo={NSLocalizedDescription=Attempt to connect to host timed out}
2016-06-28 11:30:03.703 AsyncSocketDemo[2240:87143] 7878 sorry the connect is failure 0

@AllisonWangJiaoJiao
Copy link
Author

是需要将#define HOST @"192.168.0.1"改成自己主机的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

1 participant