[Modify] Replace it

This commit is contained in:
sta 2017-07-07 15:12:28 +09:00
parent 1b609838f4
commit 782cbee729

View File

@ -164,7 +164,7 @@ namespace WebSocketSharp.Server
if (!tryCreateUri (url, out uri, out msg))
throw new ArgumentException (msg, "url");
var host = getHost (uri);
var host = uri.GetDnsSafeHost (true);
var addr = host.ToIPAddress ();
if (addr == null) {