|
MASA-Core
|
#include "Peer.hpp"#include "command/Command.hpp"#include "MasaNet.hpp"#include <stdio.h>#include <stdlib.h>#include <string.h>#include <string>#include <sys/socket.h>#include <arpa/inet.h>#include <signal.h>#include <unistd.h>#include <errno.h>Go to the source code of this file.
Defines | |
| #define | MAGIC_STRING "MASA_NET" |
| #define | MAGIC_ANSWER "MASA_ACK" |
| #define | MASA_NET_VERSION_MAJOR 0 |
| #define | MASA_NET_VERSION_MINOR 1 |
| #define | FLAG_NONE 0x00000000 |
| #define | SEND_ERROR_MSG ("send: socket error") |
| #define | RECV_ERROR_MSG ("recv: socket error") |
| #define MAGIC_ANSWER "MASA_ACK" |
| #define MAGIC_STRING "MASA_NET" |
| #define MASA_NET_VERSION_MAJOR 0 |
| #define MASA_NET_VERSION_MINOR 1 |
| #define RECV_ERROR_MSG ("recv: socket error") |
| #define SEND_ERROR_MSG ("send: socket error") |
1.7.6.1