Click or drag to resize

TcpSocket Methods

The TcpSocket type exposes the following members.

Methods
  NameDescription
Public methodAcceptAsync
Accepts a new socket asynchronously.
(Overrides StreamSocketAcceptAsync(Action0, Action1Exception, Action1StreamSocket).)
Public methodBind
Binds the socket to a local endpoint.
(Overrides ManagedSocketBind(String, Int32, Boolean).)
Public methodClose
Closes the socket.
(Overrides ManagedSocketClose.)
Public methodConnectAsync
Connects the socket asynchronously.
(Overrides StreamSocketConnectAsync(String, String, Int32, Int32, Action0, Action2Exception, Boolean).)
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.
(Inherited from StreamSocket.)
Protected methodRaiseAcceptSocket
Invokes the accept success callback.
(Inherited from StreamSocket.)
Protected methodRaiseAcceptSuccess
Invokes the accept success callback.
(Inherited from StreamSocket.)
Protected methodRaiseConnectFailure
Invokes the connect failure callback.
(Inherited from StreamSocket.)
Protected methodRaiseConnectSuccess
Invokes the connect success callback.
(Inherited from StreamSocket.)
Protected methodRaiseReceiveFailure
Invokes the receive failure callback.
(Inherited from StreamSocket.)
Protected methodRaiseReceiveSuccess
Invokes the receive success callback.
(Inherited from StreamSocket.)
Protected methodRaiseSendFailure
Invokes the send failure callback.
(Inherited from StreamSocket.)
Protected methodRaiseSendSuccess
Invokes the send success callback.
(Inherited from StreamSocket.)
Public methodReceiveAsync
Receives data asynchronously.
(Overrides StreamSocketReceiveAsync(Int32).)
Public methodSend
Sends data synchronously.
(Overrides StreamSocketSend(DataBuffer).)
Public methodSendAsync
Sends data asynchronously.
(Overrides StreamSocketSendAsync(DataBuffer, Int32, Action0, Action2Exception, Boolean).)
Public methodToString (Inherited from Object.)
Top
See Also