TCP サーバ
More...
#include <TCPServer.hpp>
|
SIV3D_NODISCARD_CXX20 | TCPServer () |
|
| ~TCPServer () |
|
void | startAccept (uint16 port) |
|
void | startAcceptMulti (uint16 port) |
|
void | cancelAccept () |
|
bool | isAccepting () const |
|
void | disconnect () |
|
bool | hasSession () const |
|
bool | hasSession (TCPSessionID id) const |
|
size_t | num_sessions () const |
|
Array< TCPSessionID > | getSessionIDs () const |
|
uint16 | port () const |
|
size_t | available (const Optional< TCPSessionID > &id=unspecified) |
|
bool | skip (size_t size, const Optional< TCPSessionID > &id=unspecified) |
|
bool | lookahead (void *dst, size_t size, const Optional< TCPSessionID > &id=unspecified) const |
|
SIV3D_CONCEPT_TRIVIALLY_COPYABLE bool | lookahead (TriviallyCopyable &to, const Optional< TCPSessionID > &id=unspecified) |
|
bool | read (void *dst, size_t size, const Optional< TCPSessionID > &id=unspecified) |
|
SIV3D_CONCEPT_TRIVIALLY_COPYABLE bool | read (TriviallyCopyable &to, const Optional< TCPSessionID > &id=unspecified) |
|
bool | send (const void *data, size_t size, const Optional< TCPSessionID > &id=unspecified) |
|
SIV3D_CONCEPT_TRIVIALLY_COPYABLE bool | send (const TriviallyCopyable &to, const Optional< TCPSessionID > &id=unspecified) |
|
◆ TCPServer()
SIV3D_NODISCARD_CXX20 s3d::TCPServer::TCPServer |
( |
| ) |
|
◆ ~TCPServer()
s3d::TCPServer::~TCPServer |
( |
| ) |
|
◆ available()
◆ cancelAccept()
void s3d::TCPServer::cancelAccept |
( |
| ) |
|
◆ disconnect()
void s3d::TCPServer::disconnect |
( |
| ) |
|
◆ getSessionIDs()
◆ hasSession() [1/2]
bool s3d::TCPServer::hasSession |
( |
| ) |
const |
◆ hasSession() [2/2]
◆ isAccepting()
bool s3d::TCPServer::isAccepting |
( |
| ) |
const |
◆ lookahead() [1/2]
◆ lookahead() [2/2]
◆ num_sessions()
size_t s3d::TCPServer::num_sessions |
( |
| ) |
const |
◆ port()
uint16 s3d::TCPServer::port |
( |
| ) |
const |
◆ read() [1/2]
◆ read() [2/2]
◆ send() [1/2]
◆ send() [2/2]
◆ skip()
◆ startAccept()
void s3d::TCPServer::startAccept |
( |
uint16 |
port | ) |
|
◆ startAcceptMulti()
void s3d::TCPServer::startAcceptMulti |
( |
uint16 |
port | ) |
|
The documentation for this class was generated from the following file: