3es
0.7
qt/3estcpdetail.h
1
2
//
3
// author: Kazys Stepanas
4
//
5
#ifndef _3ESTCPDETAIL_H_
6
#define _3ESTCPDETAIL_H_
7
8
#include "3es-core.h"
9
10
#include <QTcpServer>
11
#include <QTcpSocket>
12
13
namespace
tes
14
{
15
struct
TcpSocketDetail
16
{
17
QTcpSocket *socket;
18
int
readTimeout;
19
int
writeTimeout;
20
21
inline
TcpSocketDetail
()
22
: socket(
nullptr
)
23
, readTimeout(~0u)
24
, writeTimeout(~0u)
25
{}
26
27
inline
~
TcpSocketDetail
()
28
{
29
delete
socket;
30
}
31
};
32
33
struct
TcpListenSocketDetail
34
{
35
QTcpServer listenSocket;
36
};
37
}
38
39
#endif // _3ESTCPDETAIL_H_
tes::TcpListenSocketDetail
Definition:
qt/3estcpdetail.h:33
tes
Definition:
3esbounds.h:13
tes::TcpSocketDetail
Definition:
qt/3estcpdetail.h:15
3es-core
qt
3estcpdetail.h
Generated by
1.8.13