TcpSocket Properties |
The TcpSocket type exposes the following members.
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.
|