UniSet 2.32.1
Открытые члены | Полный список членов класса
Класс uniset::UTCPStream

#include <UTCPStream.h>

Граф наследования:uniset::UTCPStream:
Inheritance graph
[см. легенду]
Граф связей класса uniset::UTCPStream:
Collaboration graph
[см. легенду]

Открытые члены

 UTCPStream (const Poco::Net::StreamSocket &so)
 
void create (const std::string &hname, uint16_t port, timeout_t tout_msec=1000)
 
bool isConnected () const noexcept
 
bool setKeepAliveParams (timeout_t timeout_sec=5, int conn_keepcnt=1, int keepintvl=2)
 
bool isSetLinger () const
 
void forceDisconnect ()
 
void disconnect ()
 
int getSocket () const
 
timeout_t getTimeout () const
 

Подробное описание

Специальная "обёртка" над ost::TCPStream, устанавливающая ещё и параметры KeepAlive, для открытого сокета.

Заметки
Правда это linux-only