Example #1
0
 /// <summary>
 /// Returns the connected state as of the last read or write operation. This does not necessarily represent
 /// the current state of the connection.
 /// To check the current socket state call <see cref="CheckConnectState()"/>
 /// </summary>
 public bool CheckConnectState()
 {
     if (socket == null)
     {
         return(false);
     }
     return(socket.CheckConnectState());
 }
 /// <summary>
 /// Returns the connected state as of the last read or write operation. This does not necessarily represent 
 /// the current state of the connection. 
 /// To check the current socket state call <see cref="CheckConnectState()"/>
 /// </summary>
 public bool CheckConnectState()
 {
     if (socket == null)
         return false;
     return socket.CheckConnectState();
 }