Click or drag to resize

StreamSocket Methods

The StreamSocket type exposes the following members.

Methods
  NameDescription
Public methodAcceptAsync
Accepts a new socket asynchronously.
Public methodBind
Binds the socket to a local endpoint.
(Inherited from ManagedSocket.)
Public methodClose
Closes the socket.
(Inherited from ManagedSocket.)
Public methodConnectAsync
Connects the socket asynchronously.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodRaiseAcceptFailure
Invokes the accept failure callback.
Protected methodRaiseAcceptSocket
Invokes the accept success callback.
Protected methodRaiseAcceptSuccess
Invokes the accept success callback.
Protected methodRaiseConnectFailure
Invokes the connect failure callback.
Protected methodRaiseConnectSuccess
Invokes the connect success callback.
Protected methodRaiseReceiveFailure
Invokes the receive failure callback.
Protected methodRaiseReceiveSuccess
Invokes the receive success callback.
Protected methodRaiseSendFailure
Invokes the send failure callback.
Protected methodRaiseSendSuccess
Invokes the send success callback.
Public methodReceiveAsync
Receives data asynchronously.
Public methodSend
Sends data synchronously.
Public methodSendAsync
Sends data asynchronously.
Public methodToString (Inherited from Object.)
Top
See Also