Changeset 4c202e0 in network-game for common/Common.cpp


Ignore:
Timestamp:
Dec 25, 2012, 6:59:58 PM (12 years ago)
Author:
dportnoy <dmp1488@…>
Branches:
master
Children:
3b8adee
Parents:
edfd1d0
Message:

Added Player to the visual studio project, changed Common to use the #defines in Compiler.h, and added basic client support for processing MSG_TYPE_PLAYER messages

File:
1 edited

Legend:

Unmodified
Added
Removed
  • common/Common.cpp

    redfd1d0 r4c202e0  
    33void set_nonblock(int sock)
    44{
    5    #ifdef WIN32
     5   #if defined WINDOWS
    66      unsigned long mode = 1;
    77      ioctlsocket(sock, FIONBIO, &mode);
    8    #else
     8   #elif defined LINUX
    99      int flags;
    1010      flags = fcntl(sock, F_GETFL,0);
Note: See TracChangeset for help on using the changeset viewer.