LRT14
1.0
Main Page
Namespaces
Classes
Files
File List
All
Classes
Namespaces
Functions
Variables
Enumerations
Enumerator
NetServer.h
1
#ifndef RHESUS_NET_SERVER_H_
2
#define RHESUS_NET_SERVER_H_
3
4
#include <stdio.h>
5
6
#include <unistd.h>
7
#include <sys/types.h>
8
#include <sys/socket.h>
9
10
#include "NetPeer.h"
11
#include "NetChannel.h"
12
13
namespace
Rhesus
14
{
15
namespace
Messenger
16
{
17
class
NetServer :
public
NetPeer
18
{
19
public
:
20
NetServer(
int
port);
21
22
void
SendToAll(NetBuffer* buff,
NetChannel::Enum
method,
int
channel);
23
24
vector<NetConnection*> Connections();
25
};
26
}
27
}
28
29
#endif
Rhesus
Messenger
NetServer.h
Generated on Tue Feb 11 2014 00:29:46 for LRT14 by
1.8.3