[Modify] Polish it

This commit is contained in:
sta 2017-09-07 20:03:06 +09:00
parent 9593bf1a85
commit c9291b1712

View File

@ -98,11 +98,12 @@ namespace WebSocketSharp.Server
/// </value> /// </value>
public IEnumerable<string> ActiveIDs { public IEnumerable<string> ActiveIDs {
get { get {
foreach (var res in Broadping (WebSocketFrame.EmptyPingBytes, _waitTime)) foreach (var res in broadping (WebSocketFrame.EmptyPingBytes)) {
if (res.Value) if (res.Value)
yield return res.Key; yield return res.Key;
} }
} }
}
/// <summary> /// <summary>
/// Gets the number of the sessions in the Websocket service. /// Gets the number of the sessions in the Websocket service.