ft_irc 1.0
読み取り中…
検索中…
一致する文字列を見つけられません
Server.cpp ファイル

Implements the core IRC server functionality. [詳解]

#include "Server.hpp"
#include "Channel.hpp"
#include "Client.hpp"
#include "CommandManager.hpp"
#include "Replies.hpp"
#include <algorithm>
#include <arpa/inet.h>
#include <cerrno>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <fcntl.h>
#include <iostream>
#include <map>
#include <netinet/in.h>
#include <poll.h>
#include <stdexcept>
#include <string>
#include <sys/socket.h>
#include <unistd.h>
#include <vector>
Server.cpp の依存先関係図:

[ソースコード]

マクロ定義

#define PING_TIMEOUT   120
 
#define PONG_TIMEOUT   20
 

詳解

Implements the core IRC server functionality.

This file contains the implementation of the Server class, which handles socket setup, main event loop, client connections, data handling, and command dispatching.

Server.cpp に定義があります。

マクロ定義詳解

◆ PING_TIMEOUT

#define PING_TIMEOUT   120

Server.cpp35 行目に定義があります。

◆ PONG_TIMEOUT

#define PONG_TIMEOUT   20

Server.cpp36 行目に定義があります。