#include <server_conn.h>
Public Member Functions | |
| Hazy_Server () | |
| Default constructor. | |
| void | inetConn () |
| Initializes connection. | |
| Hazy_Worker * | acceptConnection () |
| Accepts connection. | |
| void | closeConnection () |
| Closes server connection. | |
Private Attributes | |
| int | sockfd |
| server socket id | |
| buffer_handle | bh |
| buffer for communication | |
| addrinfo hints * | servinfo |
| sockaddr_in | their_addr |
| socklen_t | sin_size |
| char | ip [MAX_IPV4_SIZE] |
| int | rc |
| Hazy_Server::Hazy_Server | ( | ) |
Default constructor.
| Hazy_Worker * Hazy_Server::acceptConnection | ( | ) |
Accepts connection.
| void Hazy_Server::closeConnection | ( | ) |
Closes server connection.
| void Hazy_Server::inetConn | ( | ) |
Initializes connection.
buffer_handle Hazy_Server::bh [private] |
buffer for communication
char Hazy_Server::ip[MAX_IPV4_SIZE] [private] |
int Hazy_Server::rc [private] |
struct addrinfo hints* Hazy_Server::servinfo [private] |
socklen_t Hazy_Server::sin_size [private] |
int Hazy_Server::sockfd [private] |
server socket id
struct sockaddr_in Hazy_Server::their_addr [private] |
1.4.7