equal
deleted
inserted
replaced
1125 for(cs=_clients;cs->socket != INVALID_SOCKET; cs++) { |
1125 for(cs=_clients;cs->socket != INVALID_SOCKET; cs++) { |
1126 count++; |
1126 count++; |
1127 ready_all = ready_all && (cs->ready || cs->inactive || (cs->xmitpos>0)); |
1127 ready_all = ready_all && (cs->ready || cs->inactive || (cs->xmitpos>0)); |
1128 if (!cs->ready) cs->timeout-=1; |
1128 if (!cs->ready) cs->timeout-=1; |
1129 if (cs->timeout == 0) { |
1129 if (cs->timeout == 0) { |
1130 SET_DPARAM16(0,count); |
1130 SetDParam(0,count); |
1131 ShowErrorMessage(-1,STR_NETWORK_ERR_TIMEOUT,0,0); |
1131 ShowErrorMessage(-1,STR_NETWORK_ERR_TIMEOUT,0,0); |
1132 CloseClient(cs); |
1132 CloseClient(cs); |
1133 } |
1133 } |
1134 } |
1134 } |
1135 return ready_all; |
1135 return ready_all; |