The Stream type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Stream |
Constructs a Stream object. The stream is not connected or
listening.
|
Methods
Name | Description | |
---|---|---|
Accept | Overloaded. | |
Close |
Closes the stream.
| |
CloseAll |
Closes all streams currently connected or listening.
| |
Connect | Overloaded. | |
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.
| |
Listen | Overloaded. | |
MemberwiseClone | (Inherited from Object.) | |
Poll |
Polls the stream for events, such as whether it is possible to send or receive
without blocking.
| |
Receive | Overloaded. | |
ReceiveArray | Overloaded. | |
Send | Overloaded. | |
SendArray | Overloaded. | |
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.) |