|
|
|
@ -2455,8 +2455,8 @@ namespace WebSocketSharp
|
|
|
|
/// </remarks>
|
|
|
|
/// </remarks>
|
|
|
|
public void Connect ()
|
|
|
|
public void Connect ()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
var msg = checkIfAvailable (true, false, true, false, false, true);
|
|
|
|
string msg;
|
|
|
|
if (msg != null) {
|
|
|
|
if (!checkIfAvailable (true, false, true, false, false, true, out msg)) {
|
|
|
|
_logger.Error (msg);
|
|
|
|
_logger.Error (msg);
|
|
|
|
error ("An error has occurred in connecting.", null);
|
|
|
|
error ("An error has occurred in connecting.", null);
|
|
|
|
|
|
|
|
|
|
|
|
|