added some more comment
This commit is contained in:
parent
74d838999d
commit
9eb8aa7d23
1 changed files with 6 additions and 0 deletions
|
@ -88,6 +88,12 @@ void CClient::OnNewConnection()
|
|||
// a new connection was successfully initiated, send name and request
|
||||
// connected clients list
|
||||
Channel.SetRemoteName ( strName );
|
||||
|
||||
// We have to send a connected clients list request since it can happen
|
||||
// that we just had connected to the server and then disconnected but
|
||||
// the server still thinks that we are connected (the server is still
|
||||
// waiting for the channel time-out). If we now connect again, we would
|
||||
// not get the list because the server does not know about a new connection.
|
||||
Channel.CreateReqConnClientsList();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue