Constructor & Destructor Documentation
| tracy::Socket::Socket |
( |
| ) |
|
| tracy::Socket::Socket |
( |
int |
sock | ) |
|
| tracy::Socket::~Socket |
( |
| ) |
|
| tracy::Socket::Socket |
( |
const Socket & |
| ) |
|
| tracy::Socket::Socket |
( |
Socket && |
| ) |
|
Member Function Documentation
| bool tracy::Socket::Connect |
( |
const char * |
addr, |
|
|
int |
port |
|
) |
| |
| void tracy::Socket::Close |
( |
| ) |
|
| int tracy::Socket::Send |
( |
const void * |
buf, |
|
|
int |
len |
|
) |
| |
| int tracy::Socket::GetSendBufSize |
( |
| ) |
|
template<typename ShouldExit >
| bool tracy::Socket::Read |
( |
void * |
buf, |
|
|
int |
len, |
|
|
int |
timeout, |
|
|
ShouldExit |
exitCb |
|
) |
| |
|
inline |
| bool tracy::Socket::HasData |
( |
| ) |
|
| bool tracy::Socket::IsValid |
( |
| ) |
const |
| int tracy::Socket::RecvBuffered |
( |
void * |
buf, |
|
|
int |
len, |
|
|
int |
timeout |
|
) |
| |
|
private |
| bool tracy::Socket::ReadImpl |
( |
char *& |
buf, |
|
|
int & |
len, |
|
|
int |
timeout |
|
) |
| |
|
private |
Member Data Documentation
| char* tracy::Socket::m_buf |
|
private |
| char* tracy::Socket::m_bufPtr |
|
private |
| std::atomic<int> tracy::Socket::m_sock |
|
private |
| int tracy::Socket::m_bufLeft |
|
private |
| struct addrinfo* tracy::Socket::m_res |
|
private |
| struct addrinfo* tracy::Socket::m_ptr |
|
private |
| int tracy::Socket::m_connSock |
|
private |
The documentation for this class was generated from the following file: