created WHY2_COMMUNICATION_TIME macro

This commit is contained in:
Václav Šmejkal 2023-04-01 12:56:14 +02:00
parent 8988b88b22
commit ed8b328673
Signed by: ENGO150
GPG Key ID: 4A57E86482968843

View File

@ -19,11 +19,12 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
#ifndef WHY2_CHAT_COMMON_H #ifndef WHY2_CHAT_COMMON_H
#define WHY2_CHAT_COMMON_H #define WHY2_CHAT_COMMON_H
//DEFINES //MACROS
#define WHY2_SA struct sockaddr #define WHY2_SA struct sockaddr
#define WHY2_SERVER_PORT 1204 #define WHY2_SERVER_PORT 1204 //PORT
#define WHY2_MAX_CONNECTIONS 1000 #define WHY2_MAX_CONNECTIONS 1000 //MAX USERS CONNECTED AT ONE TIME
#define WHY2_COMMUNICATION_TIME 300 //SECONDS WAITING BEFORE KICKING USER (TIMEOUT)
#define WHY2_CLEAR_AND_GO_UP "\33[2K\r\033[A" #define WHY2_CLEAR_AND_GO_UP "\33[2K\r\033[A" //i mean read the name
#endif #endif