The Stream type exposes the following members.

Constructors

  NameDescription
Stream
Constructs a Stream object. The stream is not connected or listening.

Methods

  NameDescription
AcceptOverloaded.
Close
Closes the stream.
CloseAll
Closes all streams currently connected or listening.
ConnectOverloaded.
Equals (Inherited from Object.)
Finalize (Inherited from Object.)
Flush
Flushes the stream send buffer to the underlying communication channel.
GetCharacterFormat
Returns the character format of the stream.
GetHashCode (Inherited from Object.)
GetSwapBytes
Returns whether the methods that send and receive various data types, or arrays of types, swap the bytes in the individual values in order to account for endian differences between the client and server.
GetType (Inherited from Object.)
Ignore
Reads the specified number of bytes from the stream and discards them.
ListenOverloaded.
MemberwiseClone (Inherited from Object.)
Poll
Polls the stream for events, such as whether it is possible to send or receive without blocking.
ReceiveOverloaded.
ReceiveArrayOverloaded.
SendOverloaded.
SendArrayOverloaded.
SetByteOrder
Configures the byte order used by methods that send and receive various data types, or arrays of types. Byte swapping will occur in the individual values, if necessary, to achieve the desired byte ordering in order to account for endian differences between the client and server.
SetCharacterFormat
Configures whether the methods that send and receive characters convert between the local character format and another character format when reading and writing to the underlying communication channel.
SetSwapBytes
Configures whether the methods that send and receive various data types, or arrays of types, swap the bytes in the individual values in order to account for endian differences between the client and server.
Shutdown
Shuts down send and/or receives in preparation for closing the stream.
ToString (Inherited from Object.)

See Also