Changeset 3056


Ignore:
Timestamp:
2002-03-07T20:17:08+13:00 (22 years ago)
Author:
sjboddie
Message:

Commented out recent change to make socket read non-blocking. This
change didn't appear to have the desired effect (certainly on Windows 98
the problems remained) and relied on wsock32.lib being linked at compile
time. Including wsock32 might be ok but it needs some testing to be sure.
That is, how will it react with restricted (billsock) version, particularly
on machines that don't have networking installed? For now it seems safer
to live with the bug we know.

Location:
trunk/gsdl/src/w32server
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/w32server/httpreq.cpp

    r3054 r3056  
    425425      // slurp it all up here.
    426426      char *tmpbuffer = new char(100);
    427       unsigned long int nonblockmode=1;
    428       ioctlsocket(RequestInfo.ClientSocket, FIONBIO, &nonblockmode);
     427      //      unsigned long int nonblockmode=1;
     428      //      ioctlsocket(RequestInfo.ClientSocket, FIONBIO, &nonblockmode);
    429429      d_recv(RequestInfo.ClientSocket, tmpbuffer, 100, 0);
    430430      delete tmpbuffer;
  • trunk/gsdl/src/w32server/win32.mak

    r3054 r3056  
    5757WINLIBS = kernel32.lib user32.lib gdi32.lib winspool.lib \
    5858          comdlg32.lib advapi32.lib shell32.lib ole32.lib \
    59           oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib
     59          oleaut32.lib uuid.lib odbc32.lib odbccp32.lib
     60#wsock32.lib
    6061
    6162COMPILE = $(CC) -c $(CPPFLAGS) $(DEFS) $(INCLUDES)
Note: See TracChangeset for help on using the changeset viewer.