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

推送服务器的日志:127.0.0.1 自己一直sub是什么意思? #60

Closed
baadf opened this issue Jul 8, 2015 · 1 comment
Closed

Comments

@baadf
Copy link

baadf commented Jul 8, 2015

2015-07-03 11:17:09.632 [DEBUG] server.cpp(249): 127.0.0.1:42810 sub 44ab59c0ce2065692649b4a8907b2859, seq: 575, subs: 6
2015-07-03 11:17:09.637 [DEBUG] server.cpp(249): 127.0.0.1:42811 sub f46b7062c7005e9f, seq: 407, subs: 3
2015-07-03 11:17:09.638 [DEBUG] server.cpp(249): 127.0.0.1:42812 sub f46b7062c7005e9f, seq: 407, subs: 4
2015-07-03 11:17:09.642 [DEBUG] server.cpp(249): 127.0.0.1:42813 sub f46b7062c7005e9f, seq: 407, subs: 5
2015-07-03 11:17:09.646 [DEBUG] server.cpp(249): 127.0.0.1:42814 sub f46b7062c7005e9f, seq: 407, subs: 6

@ideawu
Copy link
Owner

ideawu commented Jul 8, 2015

对于网页模式的应用(也就是源码中附带的例子), 工作模式就是长轮询. 长轮询就是不断的请求-响应. 具体可以搜索相关资料看看.

@ideawu ideawu closed this as completed Jul 8, 2015
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