Build 1.01.318.0

[This is preliminary documentation and is subject to change.]

The TcpMessageSocket type exposes the following members.

Constructors

  NameDescription
Public methodTcpMessageSocket(IMessageSink, BufferManager, Int32)
Creates an unconnected socket.
Public methodTcpMessageSocket(IMessageSink, Socket, BufferManager, Int32)
Attaches the object to an existing socket.

Methods

  NameDescription
Public methodBeginConnect
Connects to an endpoint.
Public methodBeginDisconnect
Disconnects from an endpoint.
Public methodBeginWriteMessage(ArraySegment<(Of <<'(Byte>)>>), Int32, AsyncCallback, Object)
Begins an asynchronous write operation.
Public methodBeginWriteMessage(BufferCollection, Int32, AsyncCallback, Object)
Begins an asynchronous write operation.
Public methodChangeSink
Changes the sink used to report reads.
Public methodClose
Forcefully closes the socket.
Public methodDispose()()()()
Frees any unmanaged resources.
Protected methodDispose(Boolean)
An overrideable version of the Dispose.
Public methodEndConnect
Called to complete an asynchronous connect operation.
Public methodEndDisconnect
Called to complete an asynchronous disconnect operation.
Public methodEndWriteMessage
Completes an asynchronous write operation.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
The finializer implementation.
(Overrides Object..::..Finalize()()()().)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodReadNextMessage
Starts reading messages from the socket.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  NameDescription
Public propertyHandle
Gets the socket handle.

See Also