Api.h
1/* Copyright (C) 2005-2013 by Dr. Marc Boris Duerner
2 SPDX-License-Identifier: LGPL-2.1-or-later WITH mif-exception
3*/
4
5#ifndef PT_NET_API_H
6#define PT_NET_API_H
7
8#include <Pt/Api.h>
9
10#define PT_NET_VERSION_MAJOR PT_VERSION_MAJOR
11#define PT_NET_VERSION_MINOR PT_VERSION_MINOR
12#define PT_NET_VERSION_REVISION PT_VERSION_REVISION
13#define PT_NET_VERSION_PRERELEASE PT_VERSION_PRERELEASE
14
15#if defined(PT_NET_API_EXPORT)
16# define PT_NET_API PT_EXPORT
17# else
18# define PT_NET_API PT_IMPORT
19# endif
20
21namespace Pt {
22
29namespace Net {
30
31class AddressInUse;
32class Endpoint;
33class TcpServer;
35class TcpSocket;
37class UdpSocket;
39
40} // namespace Net
41
42} // namespace Pt
43
44#endif // PT_NET_API_H
Local network address is already in use.
Definition AddressInUse.h:45
Host and service address.
Definition Endpoint.h:77
TCP server listen options.
Definition TcpServer.h:46
Listens for TCP connections.
Definition TcpServer.h:159
TCP socket connection options.
Definition TcpSocket.h:51
Connected TCP byte stream.
Definition TcpSocket.h:141
UDP socket bind and send options.
Definition UdpSocket.h:47
UDP datagram socket.
Definition UdpSocket.h:193
TCP and UDP network sockets.
Definition Client.h:45
Core module.
Definition Allocator.h:33