Click or drag to resize
TcpSocket Class
A TCP socket.
Inheritance Hierarchy

Namespace: FM.IceLink
Assembly: FM.IceLink (in FM.IceLink.dll) Version: 3.0.3.48 (3.0.3.48)

The TcpSocket type exposes the following members.

Constructors
  NameDescription
Public methodTcpSocket(Socket)
Initializes a new instance of the TcpSocket class.
Public methodTcpSocket(Boolean, Boolean, Boolean)
Initializes a new instance of the TcpSocket class.
Top
Properties
  NameDescription
Public propertyAdapterSpeed
Gets or sets the adapter speed.
(Inherited from ManagedSocket.)
Public propertyIPv6
Gets a value indicating whether the socket supports IPv6.
(Overrides ManagedSocketIPv6.)
Public propertyIsClosed
Gets a value indicating whether this instance is closed.
(Overrides ManagedSocketIsClosed.)
Public propertyListenBacklog
Gets or sets the maximum length of the pending connections queue.
Public propertyLocalIPAddress
Gets the local IP address.
(Overrides ManagedSocketLocalIPAddress.)
Public propertyLocalPort
Gets the local port.
(Overrides ManagedSocketLocalPort.)
Public propertyOnReceiveFailure
Gets or sets a callback invoked on failed read from TCP stream.
(Inherited from StreamSocket.)
Public propertyOnReceiveSuccess
Gets or sets a callback invoked on successful read from TCP stream.
(Inherited from StreamSocket.)
Public propertyPublicIPAddress
Gets or sets the public IP address, if known.
(Inherited from ManagedSocket.)
Public propertyRemoteIPAddress
Gets the remote IP address.
(Overrides StreamSocketRemoteIPAddress.)
Public propertyRemotePort
Gets the remote port.
(Overrides StreamSocketRemotePort.)
Public propertySecure
Gets a value indicating whether the socket is secure.
(Overrides StreamSocketSecure.)
Public propertyServer
Gets a value indicating whether the socket can accept incoming connections.
(Overrides StreamSocketServer.)
Top
Methods
  NameDescription
Public methodAcceptAsync
Accepts a new socket asynchronously.
(Overrides StreamSocketAcceptAsync(Action1StreamSocket, Action1Exception).)
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, Int32, Int32, Action0, Action2Exception, Boolean).)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodRaiseAcceptFailure
Invokes the accept failure 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(Byte).)
Public methodSendAsync
Sends data asynchronously.
(Overrides StreamSocketSendAsync(Byte, Int32, Action0, Action2Exception, Boolean).)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also