[Modify] Add it

master
sta 9 years ago
parent 04dd346581
commit 077b5d3063

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

Loading…
Cancel
Save