See Also

TcpStream Class  | Dart.PowerTCP.SslSockets Namespace

See Also PowerTCP SSL Sockets for .NET

TcpStream Class Members

Dart.PowerTCP.SslSockets Namespace : TcpStream Class

TcpStream overview

Public Constructors

Public Constructor TcpStream Constructor Initializes a new instance of the TcpStream class for the specified Tcp object.

Public Properties

Public Property Available Gets the amount of data that has been received from the network and is available to be read.
Public Property CanRead Overridden.  Indicates that data can be read from the stream.
Public Property CanSeek (Inherited from EnhancedStream) Gets a value indicating whether the current stream supports seeking.
Public Property CanTimeout (Inherited from System.IO.Stream)Gets a value that determines whether the current stream can time out.
Public Property CanWrite Overridden.  Indicates that data can be written to the stream.
Public Property Charset (Inherited from EnhancedStream) Gets and sets the character set used for string/byte array conversions.
Public Property Encoding (Inherited from EnhancedStream)Gets or sets the type of encoding to use.
Public Property Length (Inherited from EnhancedStream) The length of data available on the stream. This method always throws a NotSupportedException.
Public Property Position (Inherited from EnhancedStream) Gets or sets the position in the stream. This method always throws a NotSupportedException.
Public Property ReadTimeout (Inherited from System.IO.Stream)Gets or sets a value that determines how long the stream will attempt to read before timing out.
Public Property WriteTimeout (Inherited from System.IO.Stream)Gets or sets a value that determines how long the stream will attempt to write before timing out.

Public Methods

Public Method BeginRead (Inherited from System.IO.Stream) 
Public Method BeginWrite (Inherited from System.IO.Stream) 
Public Method Close Overridden.  Closes the current stream and releases any resources (such as sockets and file handles) associated with the current stream.
Public Method CreateObjRef (Inherited from System.MarshalByRefObject)Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
Public Method Dispose (Inherited from EnhancedStream)Overloaded.  Releases all resources associated with the object.
Public Method EndRead (Inherited from System.IO.Stream)Waits for the pending asynchronous read to complete.
Public Method EndWrite (Inherited from System.IO.Stream)Ends an asynchronous write operation.
Public Method Flush (Inherited from EnhancedStream) Default implementation is no-op. May be overridden by derived classes
Public Method GetLifetimeService (Inherited from System.MarshalByRefObject)Retrieves the current lifetime service object that controls the lifetime policy for this instance.
Public Method InitializeLifetimeService (Inherited from System.MarshalByRefObject)Obtains a lifetime service object to control the lifetime policy for this instance.
Public Method Read Overloaded. Overridden.  Reads at least one byte of data from the stream and copies it into the provided buffer.
Public Method ReadByte (Inherited from System.IO.Stream)Reads a byte from the stream and advances the position within the stream by one byte, or returns -1 if at the end of the stream.
Public Method Save (Inherited from EnhancedStream)Overloaded. Saves the data in the stream to the file specified by fileName.
Public Method Seek (Inherited from EnhancedStream) Sets the position within the current Stream to the specified value. Always throws a NotSupportedException.
Public Method SetLength (Inherited from EnhancedStream) Sets the length of the current Stream to the specified value. Always throws a NotSupportedException.
Public Method ToArray (Inherited from EnhancedStream)Returns the byte array representation of the Stream data.
Public Method ToString (Inherited from EnhancedStream)Returns the string representation of the Stream data.
Public Method Write Overloaded. Overridden.  Writes a sequence of bytes to the stream and returns when the operation is complete.
Public Method WriteByte (Inherited from System.IO.Stream)Writes a byte to the current position in the stream and advances the position within the stream by one byte.
Public Method WriteTo (Inherited from EnhancedStream)Overloaded. Writes all of the data contained in this Stream to a destination Stream.

Protected Methods

Protected Method CreateWaitHandle (Inherited from System.IO.Stream)Allocates a WaitHandle object.
Protected Method MemberwiseClone (Inherited from System.MarshalByRefObject)Overloaded. Creates a shallow copy of the current MarshalByRefObject object.

See Also

TcpStream Class  | Dart.PowerTCP.SslSockets Namespace


Send comments on this topic.

Documentation version 1.1.2.0.

© 2008 Dart Communications.  All rights reserved.