25#ifndef PDCOM5_POSIXPROCESS_H
26#define PDCOM5_POSIXPROCESS_H
28#include "pdcom5_export.h"
143 std::shared_ptr<Impl> impl_;
Wrapper around POSIX socket.
Definition: PosixProcess.h:45
PosixProcess(int fd)
Constructor.
PosixProcess(const char *host, unsigned short port)
Constructor.
void posixFlush()
Flush internal buffer to socket.
void posixWriteBuffered(const char *buf, size_t count)
Buffered Wrapper for write().
int fd_
File descriptior of the socket.
Definition: PosixProcess.h:72
void setWriteTimeout(std::chrono::milliseconds ms)
Timeout for posixWriteDirect() in non-blocking mode.
void posixWriteDirect(const char *buf, size_t count)
Unbuffered Wrapper for write().
int posixRead(char *buf, int count)
Wrapper for read().
void reconnect(const char *host, unsigned short port)
Establish a new connection.
library version string as "major.minor.patch"
Definition: ClientStatistics.h:31