[Modify] Add it

This commit is contained in:
sta 2016-10-05 15:17:21 +09:00
parent 04dd346581
commit 077b5d3063

View File

@ -558,6 +558,13 @@ namespace WebSocketSharp.Server
_state = ServerState.Stop;
}
private bool checkHostName (string name)
{
return !_dnsStyle
|| Uri.CheckHostName (name) != UriHostNameType.Dns
|| name == _hostname;
}
private bool checkIfAvailable (
bool ready, bool start, bool shutting, bool stop, out string message
)