[Modify] Polish it
This commit is contained in:
parent
9593bf1a85
commit
c9291b1712
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user