Build 1.01.318.0
[This is preliminary documentation and is subject to change.]
The TcpMessageSocket type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| TcpMessageSocket(IMessageSink, BufferManager, Int32) |
Creates an unconnected socket.
| |
| TcpMessageSocket(IMessageSink, Socket, BufferManager, Int32) |
Attaches the object to an existing socket.
|
Methods
| Name | Description | |
|---|---|---|
| BeginConnect |
Connects to an endpoint.
| |
| BeginDisconnect |
Disconnects from an endpoint.
| |
| BeginWriteMessage(ArraySegment<(Of <<'(Byte>)>>), Int32, AsyncCallback, Object) |
Begins an asynchronous write operation.
| |
| BeginWriteMessage(BufferCollection, Int32, AsyncCallback, Object) |
Begins an asynchronous write operation.
| |
| ChangeSink |
Changes the sink used to report reads.
| |
| Close |
Forcefully closes the socket.
| |
| Dispose()()()() |
Frees any unmanaged resources.
| |
| Dispose(Boolean) |
An overrideable version of the Dispose.
| |
| EndConnect |
Called to complete an asynchronous connect operation.
| |
| EndDisconnect |
Called to complete an asynchronous disconnect operation.
| |
| EndWriteMessage |
Completes an asynchronous write operation.
| |
| Equals | (Inherited from Object.) | |
| Finalize |
The finializer implementation.
(Overrides Object..::..Finalize()()()().) | |
| GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| ReadNextMessage |
Starts reading messages from the socket.
| |
| ToString | (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| Handle |
Gets the socket handle.
|