25 #ifndef PDCOM5_POSIXPROCESS_H 26 #define PDCOM5_POSIXPROCESS_H 30 #include <pdcom5_export.h> 87 void posixWriteBuffered(
const char *buf,
size_t count);
103 void posixWriteDirect(
const char *buf,
size_t count);
113 int posixRead(
char *buf,
int count);
128 void setWriteTimeout(std::chrono::milliseconds ms);
138 void reconnect(
const char *host,
unsigned short port);
142 std::shared_ptr<Impl> impl_;
147 #endif // PDCOM5_POSIXPROCESS_H Wrapper around POSIX socket.
Definition: PosixProcess.h:43
Definition: ClientStatistics.h:31
int fd_
File descriptior of the socket.
Definition: PosixProcess.h:71