TcpSocket Methods |
The TcpSocket type exposes the following members.
Name | Description | |
---|---|---|
AcceptAsync |
Accepts a new socket asynchronously.
(Overrides StreamSocketAcceptAsync(Action0, Action1Exception, Action1StreamSocket).) | |
Bind |
Binds the socket to a local endpoint.
(Overrides ManagedSocketBind(String, Int32, Boolean).) | |
Close |
Closes the socket.
(Overrides ManagedSocketClose.) | |
ConnectAsync |
Connects the socket asynchronously.
(Overrides StreamSocketConnectAsync(String, String, Int32, Int32, Action0, Action2Exception, Boolean).) | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
RaiseAcceptFailure |
Invokes the accept failure callback.
(Inherited from StreamSocket.) | |
RaiseAcceptSocket |
Invokes the accept success callback.
(Inherited from StreamSocket.) | |
RaiseAcceptSuccess |
Invokes the accept success callback.
(Inherited from StreamSocket.) | |
RaiseConnectFailure |
Invokes the connect failure callback.
(Inherited from StreamSocket.) | |
RaiseConnectSuccess |
Invokes the connect success callback.
(Inherited from StreamSocket.) | |
RaiseReceiveFailure |
Invokes the receive failure callback.
(Inherited from StreamSocket.) | |
RaiseReceiveSuccess |
Invokes the receive success callback.
(Inherited from StreamSocket.) | |
RaiseSendFailure |
Invokes the send failure callback.
(Inherited from StreamSocket.) | |
RaiseSendSuccess |
Invokes the send success callback.
(Inherited from StreamSocket.) | |
ReceiveAsync |
Receives data asynchronously.
(Overrides StreamSocketReceiveAsync(Int32).) | |
Send |
Sends data synchronously.
(Overrides StreamSocketSend(DataBuffer).) | |
SendAsync |
Sends data asynchronously.
(Overrides StreamSocketSendAsync(DataBuffer, Int32, Action0, Action2Exception, Boolean).) | |
ToString | (Inherited from Object.) |