14#include <AUI/Network.h>
17#include "AAbstractSocket.h"
18#include "AUI/IO/IInputStream.h"
19#include "AUI/IO/IOutputStream.h"
21#include "AInet4Address.h"
38 size_t read(
char* dst,
size_t size)
override;
39 void write(
const char* buffer,
size_t size)
override;
Base class for all sockets.
Definition: AAbstractSocket.h:26
virtual int createSocket()=0
Create socket handle. Use ::socket()
std::vector-like growing array for byte storage.
Definition: AByteBuffer.h:31
Represents an ipv4 address with port.
Definition: AInet4Address.h:25
TCP server socket.
Definition: ATcpServerSocket.h:22
A bidirectional TCP connection (either a client connection or returned by ATcpServerSocket).
Definition: ATcpSocket.h:30
Definition: IOutputStream.h:20
virtual void write(const char *src, size_t size)=0
Writes exact size bytes to stream. Blocking (waiting for write all data) is allowed.
void API_AUI_XML read(const _< IInputStream > &is, const _< IXmlDocumentVisitor > &visitor)
Parses xml from the input stream to the IXmlDocumentVisitor.
Definition: AXml.cpp:20