Zappy - Year end project 2
This is a project that Epitech asked us to create in order to allow us to reveiw the notions of the current year.
Loading...
Searching...
No Matches
Data Fields
server_handler_s Struct Reference

A structure to store server general data. More...

#include <server_handler.h>

Collaboration diagram for server_handler_s:
Collaboration graph

Data Fields

int socket
 
fd_set current_fd
 
fd_set ready_fd
 
game_data_t game_data
 
int fd_queue [MAX_CLIENT]
 

Detailed Description

A structure to store server general data.

Parameters
socketThe socket of the server for the connexion
current_fdEvery fd storage
ready_fdUsable fd for select function
game_dataThe game data
fd_queueThe queue to wait a fd to give his team name

Definition at line 137 of file server_handler.h.

Field Documentation

◆ current_fd

fd_set server_handler_s::current_fd

Definition at line 139 of file server_handler.h.

◆ fd_queue

int server_handler_s::fd_queue[MAX_CLIENT]

Definition at line 142 of file server_handler.h.

◆ game_data

game_data_t server_handler_s::game_data

Definition at line 141 of file server_handler.h.

◆ ready_fd

fd_set server_handler_s::ready_fd

Definition at line 140 of file server_handler.h.

◆ socket

int server_handler_s::socket

Definition at line 138 of file server_handler.h.


The documentation for this struct was generated from the following file: