v0.8.10
版本发布时间: 2018-02-28 17:33:30
reactphp/socket最新发布版本:v1.16.0(2024-07-26 18:39:34)
-
Feature: Update DNS dependency to support loading system default DNS nameserver config on all supported platforms (
/etc/resolv.conf
on Unix/Linux/Mac/Docker/WSL and WMIC on Windows) (#152 by @clue)This means that connecting to hosts that are managed by a local DNS server, such as a corporate DNS server or when using Docker containers, will now work as expected across all platforms with no changes required:
$connector = new Connector($loop); $connector->connect('intranet.example:80')->then(function ($connection) { // … });