Click or drag to resize

TcpSocket Methods

The TcpSocket type exposes the following members.

Methods
  NameDescription
Public methodAcceptAsync
Accepts a new socket asynchronously.
(Overrides StreamSocket.AcceptAsync(Action0, Action1<Exception>, Action1<StreamSocket>).)
Public methodBind
Binds the socket to a local endpoint.
(Overrides ManagedSocket.Bind(String, Int32, Boolean).)
Public methodClose
Closes the socket.
(Overrides ManagedSocket.Close().)
Public methodConnectAsync
Connects the socket asynchronously.
(Overrides StreamSocket.ConnectAsync(String, String, Int32, Int32, Action0, Action2<Exception, 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 StreamSocket.ReceiveAsync(Int32).)
Public methodSend
Sends data synchronously.
(Overrides StreamSocket.Send(DataBuffer).)
Public methodSendAsync
Sends data asynchronously.
(Overrides StreamSocket.SendAsync(DataBuffer, Int32, Action0, Action2<Exception, Boolean>).)
Public methodToString (Inherited from Object.)
Top
See Also