We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
acceptClient
It seems the int timeout parameter in:
int timeout
Client TcpServer::acceptClient(uint timeout)
has no effect because it is not used to setup the timevalstruct.
timeval
It turns out the actual timeout is always 2 secs:
struct timeval tv; tv.tv_sec = 2; tv.tv_usec = 0;
The text was updated successfully, but these errors were encountered:
Thank you for contributing code to fix this
Sorry, something went wrong.
You're welcome!
No branches or pull requests
It seems the
int timeout
parameter in:has no effect because it is not used to setup the
timeval
struct.It turns out the actual timeout is always 2 secs:
The text was updated successfully, but these errors were encountered: