sockpp
Modern C++ socket library wrapper
unix_stream_socket.h
Go to the documentation of this file.
1
13
// --------------------------------------------------------------------------
14
// This file is part of the "sockpp" C++ socket library.
15
//
16
// Copyright (c) 2019 Frank Pagliughi
17
// All rights reserved.
18
//
19
// Redistribution and use in source and binary forms, with or without
20
// modification, are permitted provided that the following conditions are
21
// met:
22
//
23
// 1. Redistributions of source code must retain the above copyright notice,
24
// this list of conditions and the following disclaimer.
25
//
26
// 2. Redistributions in binary form must reproduce the above copyright
27
// notice, this list of conditions and the following disclaimer in the
28
// documentation and/or other materials provided with the distribution.
29
//
30
// 3. Neither the name of the copyright holder nor the names of its
31
// contributors may be used to endorse or promote products derived from this
32
// software without specific prior written permission.
33
//
34
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
35
// IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
36
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
37
// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
38
// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
39
// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
40
// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
41
// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
42
// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
43
// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
44
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
45
// --------------------------------------------------------------------------
46
47
#ifndef __sockpp_unix_stream_socket_h
48
#define __sockpp_unix_stream_socket_h
49
50
#include "
sockpp/stream_socket.h
"
51
#include "
sockpp/unix_address.h
"
52
53
namespace
sockpp
{
54
56
58
using
unix_stream_socket
=
stream_socket_tmpl<unix_address>
;
59
61
using
unix_socket
=
unix_stream_socket
;
62
64
// end namespace sockpp
65
}
66
67
#endif // __sockpp_unix_stream_socket_h
68
unix_address.h
Class for a UNIX-domain socket address.
sockpp
Definition:
acceptor.h:51
sockpp::stream_socket_tmpl
Template for creating specific stream types (IPv4, IPv6, etc).
Definition:
stream_socket.h:245
stream_socket.h
Classes for stream sockets.
Generated on Sat Apr 24 2021 13:59:37 for sockpp by
1.8.13