Changeset 7 in Main for trunk/Server/tw_config.h


Ignore:
Timestamp:
Sep 13, 2024, 7:40:53 PM (2 months ago)
Author:
Nishi
Message:

recognizes listen/listenssl now

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Server/tw_config.h

    r6 r7  
    44#define __TW_CONFIG_H__
    55
     6#include <stdint.h>
     7
     8/* I don't think you would listen to 1024 ports */
     9#define MAX_PORTS 1024
     10
    611struct tw_config_entry {};
    712
    813struct tw_config {
     14        uint64_t ports[MAX_PORTS + 1]; /* If port & (1 << 32) is non-zero, it is SSL */
    915        struct tw_config_entry root;
    1016};
Note: See TracChangeset for help on using the changeset viewer.