Changeset 274 in Main


Ignore:
Timestamp:
Oct 8, 2024, 7:55:19 PM (5 weeks ago)
Author:
Nishi
Message:

minix is weird

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Server/server.c

    r272 r274  
    159159                }
    160160#ifndef __PPU__
     161#ifdef __minix
     162                if(setsockopt(sock, 0, TCP_NODELAY, (void*)&yes, sizeof(yes)) < 0) {
     163#else
    161164                if(setsockopt(sock, IPPROTO_TCP, TCP_NODELAY, (void*)&yes, sizeof(yes)) < 0) {
     165#endif
    162166                        close_socket(sock);
    163167                        cm_log("Server", "setsockopt failure (nodelay)");
Note: See TracChangeset for help on using the changeset viewer.