[Modify] Polish it

master
sta 8 years ago
parent 9593bf1a85
commit c9291b1712

@ -98,9 +98,10 @@ 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;
}
} }
} }

Loading…
Cancel
Save