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

httpd.c中accept_request函数对arg的转换出错 #48

Open
paangyubok opened this issue Jun 21, 2021 · 0 comments
Open

httpd.c中accept_request函数对arg的转换出错 #48

paangyubok opened this issue Jun 21, 2021 · 0 comments

Comments

@paangyubok
Copy link

在mian()中的client_sock以指针形式传入accept_request()中,但在accept_request中(57行)将指针直接赋值给int型的client变量中导致后面recv失败。

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