Changeset 85 in Main for trunk/Server


Ignore:
Timestamp:
Sep 19, 2024, 9:51:19 PM (2 months ago)
Author:
Nishi
Message:

fix select

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Server/server.c

    r84 r85  
    765765                tv.tv_sec = 1;
    766766                tv.tv_usec = 0;
    767                 int ret = select(FD_SETSIZE, &fdset, NULL, NULL, &tv);
     767                int ret = select(sockcount, &fdset, NULL, NULL, &tv);
    768768                if(ret == -1) {
    769769#ifndef __MINGW32__
Note: See TracChangeset for help on using the changeset viewer.