Class Poco::Net::SocketIOS (original) (raw)

Library: Net
Package: Sockets
Header: Poco/Net/SocketStream.h

Description

Inheritance

Direct Base Classes: std::ios

All Base Classes: std::ios

Known Derived Classes: SocketOutputStream, SocketInputStream, SocketStream

Member Summary

Member Functions: close, rdbuf, socket

Constructors

SocketIOS

SocketIOS(
const Socket & socket
);

Destructor

~SocketIOS

~SocketIOS() override;

Destroys the SocketIOS.

Flushes the buffer, but does not close the socket.

Member Functions

close

void close();

Flushes the stream and closes the socket.

rdbuf

SocketStreamBuf * rdbuf();

socket

StreamSocket socket() const;

Returns the underlying socket.

Variables

_buf protected

SocketStreamBuf _buf;