diff --git a/websocket-sharp/Server/WebSocketSessionManager.cs b/websocket-sharp/Server/WebSocketSessionManager.cs index d1e55fe2..2c8e668b 100644 --- a/websocket-sharp/Server/WebSocketSessionManager.cs +++ b/websocket-sharp/Server/WebSocketSessionManager.cs @@ -879,15 +879,31 @@ namespace WebSocketSharp.Server } /// - /// Sends a Ping to the client on the session with the specified . + /// Sends a ping to the client using the specified session. /// /// - /// true if the manager receives a Pong from the client in a time; - /// otherwise, false. + /// true if the send has done with no error and + /// a pong from the client has been received within + /// a time; otherwise, false. /// /// - /// A that represents the ID of the session to find. + /// A that represents the ID of + /// the session to find. /// + /// + /// is . + /// + /// + /// + /// is an empty string. + /// + /// + /// -or- + /// + /// + /// The session could not be found. + /// + /// public bool PingTo (string id) { IWebSocketSession session;