version 1.88, 2005/01/28 00:35:03
|
version 1.89, 2005/01/29 06:23:50
|
|
|
// current connections requested | // current connections requested |
_solicitSocketCount++; // bump the count | _solicitSocketCount++; // bump the count |
int size = (int)_entries.size(); | int size = (int)_entries.size(); |
if(_solicitSocketCount >= (size-1)){ |
if((int)_solicitSocketCount >= (size-1)){ |
for(int i = 0; i < (_solicitSocketCount - (size-1)); i++){ |
for(int i = 0; i < ((int)_solicitSocketCount - (size-1)); i++){ |
_MonitorEntry entry(0, 0, 0); | _MonitorEntry entry(0, 0, 0); |
_entries.append(entry); | _entries.append(entry); |
} | } |
|
|
Start at index = 1 because _entries[0] is the tickle entry which never needs | Start at index = 1 because _entries[0] is the tickle entry which never needs |
to be EMPTY; | to be EMPTY; |
*/ | */ |
int index; |
unsigned int index; |
for(index = 1; index < _entries.size(); index++) | for(index = 1; index < _entries.size(); index++) |
{ | { |
if(_entries[index].socket == socket) | if(_entries[index].socket == socket) |