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
Migrated from reactphp/reactphp#181, originally reported 2013-04-13
Calling Socket\Server::listen($port, $host) with a hostname instead of an IPv4 address is a blocking operation.
Example:
$server = new Socket\Server($loop); $server->listen(1234, 'example.com');
Giving a hostname will result in resolving it via DNS (blocking).
The text was updated successfully, but these errors were encountered:
I think listen shouldn't rely on hostnames.
As an example Apache's listen works only on IP.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Calling Socket\Server::listen($port, $host) with a hostname instead of an IPv4 address is a blocking operation.
Example:
Giving a hostname will result in resolving it via DNS (blocking).
The text was updated successfully, but these errors were encountered: