38 class socket_streambuf :
public std::streambuf {
43 int32 underflow()
override;
47 bool owns_socket_ =
false;
84 socket_streambuf stream_buf_;
Provides the underlying stream of data for network access.
Definition network_stream.h:37
network_stream(const xtd::net::sockets::socket &socket)
Creates a new instance of the network_stream class for the specified xtd::net::sockets::socket.
network_stream(const xtd::net::sockets::socket &socket, bool owns_socket)
Initializes a new instance of the xtd::net::sockets::network_stream class for the specified xtd::net:...
xtd::net::sockets::socket socket() const
Gets the underlying xtd::net::sockets::socket.
virtual bool data_available() const
Gets a value that indicates whether data is available on the xtd::net::sockets::network_stream to be ...
Implements the Berkeley sockets interface.
Definition socket.h:74
#define core_export_
Define shared library export.
Definition core_export.h:13
int32_t int32
Represents a 32-bit signed integer.
Definition int32.h:23
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10
Contains xtd::net::sockets::socket class.