libutil++
1.9.3
Main Page
Classes
Files
File List
All
Classes
Functions
Variables
src
sella
net
RawSocket.h
1
/*
2
** libutil++
3
** $Id: RawSocket.h 1653 2016-02-28 19:54:59Z sella $
4
** Copyright (c) 2011-2016 Digital Genesis, LLC. All Rights Reserved.
5
** Released under the LGPL Version 2.1 License.
6
** http://www.digitalgenesis.com
7
*/
8
9
#ifndef __libutilxx__sella__net__RawSocket_H__
10
#define __libutilxx__sella__net__RawSocket_H__
11
12
#include "../../common.h"
13
#include "Socket.h"
14
15
#include <sys/socket.h>
16
17
namespace
sella {
18
namespace
net {
19
class
RawSocket;
20
}
21
}
22
23
class
sella::net::RawSocket
:
public
Socket
{
24
public
:
25
typedef
std::shared_ptr<RawSocket> shared;
26
typedef
RawSocket
*
ptr
;
27
28
public
:
29
RawSocket
(
int
family,
int
protocol)
throw
(SocketException);
30
RawSocket
(
const
RawSocket
&other) =
delete
;
31
virtual
~
RawSocket
();
32
void
operator=(
const
RawSocket
&other) =
delete
;
33
34
static
const
RawSocket::shared shared_ptr(
int
family,
int
protocol)
throw
(SocketException);
35
36
protected
:
37
private
:
38
};
39
40
#endif
41
42
/*
43
** vim: noet ts=3 sw=3
44
*/
sella::net::RawSocket
Definition:
RawSocket.h:23
sella::net::Socket
Definition:
Socket.h:29
Generated on Sat Sep 2 2017 11:44:21 for libutil++ by
1.8.5