NetworkByteStream Class

Represents a stream connected to a TcpSocket .

Definition

Line 11 of System.Net.Sockets/NetworkByteStream.cm

Inheritance

Constructors & Destructor

public nothrow NetworkByteStream(TcpSocket&& socket_)

Member Functions

public TcpSocket& ContainedSocket()
public override long Read(byte* buf, long count)
public override int ReadByte()
public override void Write(byte x)
public override void Write(byte* buf, long count)

Member Variables

private TcpSocket socket

Constructor& Destructor Details

NetworkByteStream Constructor

public nothrow NetworkByteStream(TcpSocket&& socket_)

Definition
Line 13 of System.Net.Sockets/NetworkByteStream.cm


Member Function Details

ContainedSocket Member Function

public TcpSocket& ContainedSocket()

Definition
Line 57 of System.Net.Sockets/NetworkByteStream.cm


Read Member Function

public override long Read(byte* buf, long count)

Definition
Line 29 of System.Net.Sockets/NetworkByteStream.cm


ReadByte Member Function

public override int ReadByte()

Definition
Line 16 of System.Net.Sockets/NetworkByteStream.cm


Write Member Function

public override void Write(byte x)

Definition
Line 41 of System.Net.Sockets/NetworkByteStream.cm


Write Member Function

public override void Write(byte* buf, long count)

Definition
Line 45 of System.Net.Sockets/NetworkByteStream.cm