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

httpserver 启动正常,client就报错 #20

Open
sandy1219 opened this issue Feb 4, 2017 · 5 comments
Open

httpserver 启动正常,client就报错 #20

sandy1219 opened this issue Feb 4, 2017 · 5 comments

Comments

@sandy1219
Copy link

sandy@sandy:~/Documents/chuck$ lua test/lua/httpclient.lua
[ ERROR]2017-02-04-21:29:26.182[3626] dail_ip4_cb():luabind/socket.h:193:error on dail_ip4_cb ./lib/http.lua:135: attempt to call a nil value (method 'Bind')
stack traceback:
./lib/http.lua:135: in field 'new'
./lib/http.lua:278: in function <./lib/http.lua:272>
[C]: in method 'Run'
test/lua/httpclient.lua:45: in main chunk
[C]: in ?

@sniperHW
Copy link
Owner

sniperHW commented Feb 5, 2017

你可以尝试自己找到并解决这个问题,或者pull最新代码

@zzh442856860
Copy link

楼主,留个联系方式,咱俩聊聊;
这个作者,回答问题,基本都是让你自己研究理解。不会直接解答

@zzh442856860
Copy link

你这个问题,可以看 luabind/http.h 这里面已经没有Bind方法。 应该是start方法

@sandy1219
Copy link
Author

我qq 3031393421

@sandy1219
Copy link
Author

将lib/http.lua 135行的Bind 改成Start 即可

Repository owner deleted a comment Feb 2, 2024
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