TcpSocket Class |
Namespace: FM.IceLink
The TcpSocket type exposes the following members.
Name | Description | |
---|---|---|
![]() | TcpSocket(Boolean, Boolean, Boolean) |
Initializes a new instance of the TcpSocket class.
|
![]() | TcpSocket(Socket, Boolean, Boolean) |
Initializes a new instance of the TcpSocket class.
|
Name | Description | |
---|---|---|
![]() | AdapterSpeed |
Gets or sets the adapter speed.
(Inherited from ManagedSocket.) |
![]() ![]() | Certificate |
Gets or sets the certificate to use to secure the socket.
This is required for secure server sockets.
|
![]() | IPv6 |
Gets a value indicating whether the socket supports IPv6.
(Overrides ManagedSocketIPv6.) |
![]() | IsClosed |
Gets a value indicating whether this instance is closed.
(Overrides ManagedSocketIsClosed.) |
![]() | ListenBacklog |
Gets or sets the maximum length of the pending connections queue.
|
![]() | LocalIPAddress |
Gets the local IP address.
(Overrides ManagedSocketLocalIPAddress.) |
![]() | LocalPort |
Gets the local port.
(Overrides ManagedSocketLocalPort.) |
![]() | OnReceiveFailure |
Gets or sets a callback invoked on failed read from TCP stream.
(Inherited from StreamSocket.) |
![]() | OnReceiveSuccess |
Gets or sets a callback invoked on successful read from TCP stream.
(Inherited from StreamSocket.) |
![]() | PublicIPAddress |
Gets or sets the public IP address, if known.
(Inherited from ManagedSocket.) |
![]() | RemoteHostname |
Gets the remote hostname.
(Overrides StreamSocketRemoteHostname.) |
![]() | RemoteIPAddress |
Gets the remote IP address.
(Overrides StreamSocketRemoteIPAddress.) |
![]() | RemotePort |
Gets the remote port.
(Overrides StreamSocketRemotePort.) |
![]() | Secure |
Gets a value indicating whether the socket is secure.
(Overrides StreamSocketSecure.) |
![]() | Server |
Gets a value indicating whether the socket can accept incoming connections.
(Overrides StreamSocketServer.) |
![]() | Socket |
Gets the underlying socket.
|
![]() | Stream |
Gets the underlying stream.
|
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.) |
Name | Description | |
---|---|---|
![]() ![]() | OnSocketCreated |
Raised when a socket has been created and initialized.
|