Socket Server
headers
types.h
Go to the documentation of this file.
1
#ifndef __TYPES_H__
2
#define __TYPES_H__
3
4
#include <string>
5
6
#define MAX_BUFFER_SIZE (49152)
7
8
template
<
typename
MessageProcessor>
9
void
MessageHandler
(MessageProcessor processor,
int
client_socket_fd, std::string message) {
10
processor(client_socket_fd, message);
11
}
12
13
14
15
#endif //__TYPES_H__
16
MessageHandler
void MessageHandler(MessageProcessor processor, int client_socket_fd, std::string message)
Definition:
types.h:9
Generated by
1.8.16