LRT13
1.0
Main Page
Namespaces
Classes
Files
File List
All
Classes
Namespaces
Functions
Variables
Enumerations
Enumerator
Network
NetConnection.h
1
#ifndef NET_CONNECTION_H_
2
#define NET_CONNECTION_H_
3
//sdfjl
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
12
namespace
Network
13
{
14
class
NetConnection
15
{
16
private
:
17
int
m_socket;
18
19
sockaddr_in m_remoteEndpoint;
20
NetPeer
* m_netPeer;
21
22
public
:
23
sockaddr_in* RemoteEndpoint();
24
25
NetConnection(sockaddr_in iep,
NetPeer
* peer);
26
27
void
Send(
NetBuffer
* buff,
NetChannel::Enum
method,
int
channel);
28
};
29
};
30
31
#endif
Generated on Thu Nov 28 2013 20:16:51 for LRT13 by
1.8.3