PowerTCP Sockets for .NET
Tcp Class Members
Properties  Methods  Events


The following tables list the members exposed by Tcp.

Public Constructors
 NameDescription
Public ConstructorTcp ConstructorOverloaded.   
Top
Public Properties
 NameDescription
Public PropertyCloseTime Returns the DateTime the connection was closed. (Inherited from Dart.Sockets.TcpBase)
Public PropertyConnectTime Returns the DateTime the connection was established. (Inherited from Dart.Sockets.TcpBase)
Public PropertyContainer (Inherited from System.ComponentModel.Component)
Public PropertyCRLF Set to true if the Pty property is used and a CR should be converted to a CRLF for sending. (Inherited from Dart.Sockets.PtyBase)
Public PropertyEncoding Character encoding used by the component. (Inherited from Dart.Sockets.ComponentBase)
Public PropertyLocalEcho Set to true if the Pty property is used and keystrokes should be displayed in the textbox. (Inherited from Dart.Sockets.PtyBase)
Public PropertyNetworkStreamReturns the NetworkStream object created when Connect() is called. (Inherited from Dart.Sockets.TcpBase)
Public PropertyPty Gets or sets a display control to use for automatic pseudo terminal support. (Inherited from Dart.Sockets.PtyBase)
Public PropertyRemoteEndPoint Gets the remote address and port of the connection. (Inherited from Dart.Sockets.TcpBase)
Public PropertySite (Inherited from System.ComponentModel.Component)
Public PropertySocket Gets the socket used by the component for communications. (Inherited from Dart.Sockets.SocketBase)
Public PropertySocketOption Gets and sets the socket options for classes derived from TcpBase. (Inherited from Dart.Sockets.TcpBase)
Public PropertySslStreamReturns the SslStream object created when AuthenticateAsClient or AuthenticateAsServer are called. (Inherited from Dart.Sockets.TcpBase)
Public PropertyState Gets the status of the connection as of the last socket operation. (Inherited from Dart.Sockets.TcpBase)
Public PropertySynchronizingObject Gets or sets the object used to marshal data to the UI thread (for raising events). (Inherited from Dart.Sockets.ComponentBase)
Public PropertySyncRoot Gets an object that is used to synchronize access to the upper layer protocol in use. (Inherited from Dart.Sockets.ComponentBase)
Public PropertyTag Gets or sets an object that stores any user data. (Inherited from Dart.Sockets.ComponentBase)
Top
Protected Properties
Public Methods
 NameDescription
Public MethodAbort Performs a hard close of the connection. (Inherited from Dart.Sockets.TcpBase)
Public MethodAuthenticateAsClientOverloaded.  Authenticates the server when establishing a secure connection. (Inherited from Dart.Sockets.TcpBase)
Public MethodAuthenticateAsClientTaskAsyncOverloaded.  Authenticates the server when establishing a secure connection. (Inherited from Dart.Sockets.TcpBase)
Public MethodAuthenticateAsServer Authenticates a client when establishing a secure connection. (Inherited from Dart.Sockets.TcpBase)
Public MethodAuthenticateAsServerTaskAsync Authenticates a client when establishing a secure connection. (Inherited from Dart.Sockets.TcpBase)
Public MethodClose Gracefully closes the connection. (Inherited from Dart.Sockets.TcpBase)
Public MethodConnectConnect to a server using the configuration specified by session. (Inherited from Dart.Sockets.TcpBase)
Public MethodConnectAsyncConnect to a server using the configuration specified by session. (Inherited from Dart.Sockets.TcpBase)
Public MethodConnectTaskAsyncConnect to a server using the configuration specified by session. (Inherited from Dart.Sockets.TcpBase)
Public MethodCreateObjRefCreates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from System.MarshalByRefObject)
Public MethodDeserialize Deserialize a previously serialized object. (Inherited from Dart.Sockets.ComponentBase)
Public MethodDisposeOverloaded.  Disposes of TcpBase and its associated resources. (Inherited from Dart.Sockets.TcpBase)
Public MethodGetLifetimeServiceRetrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from System.MarshalByRefObject)
Public MethodGetStream Provides access to the underlying Stream. (Inherited from Dart.Sockets.TcpBase)
Public MethodInitializeLifetimeServiceObtains a lifetime service object to control the lifetime policy for this instance. (Inherited from System.MarshalByRefObject)
Public MethodMarshalOverloaded.  Marshals data to the UI thread. (Inherited from Dart.Sockets.TcpBase)
Public MethodReadOverloaded.  Receives data from the remote host. (Inherited from Dart.Sockets.TcpBase)
Public MethodReadAsync Start an asynchronous read on the socket. (Inherited from Dart.Sockets.TcpBase)
Public MethodReadTaskAsync Start an awaitable asynchronous read on the socket. (Inherited from Dart.Sockets.TcpBase)
Public MethodReadToCount Read until count bytes are read, an exception is thrown, or the connection is closed. (Inherited from Dart.Sockets.TcpBase)
Public MethodReadToDelimiterOverloaded.  Read until the delimiter is found, an exception is thrown, or the connection is closed. (Inherited from Dart.Sockets.TcpBase)
Public MethodReadToEnd Read until the connection is closed or an exception is thrown. (Inherited from Dart.Sockets.TcpBase)
Public MethodSerialize Serialize an object to the provided destination stream. (Inherited from Dart.Sockets.ComponentBase)
Public MethodShutdownSsl Signals the remote host to shutdown the SSL connection. (Inherited from Dart.Sockets.TcpBase)
Public MethodToString (Inherited from System.ComponentModel.Component)
Public MethodWriteOverloaded.  Sends data to the remote host. (Inherited from Dart.Sockets.TcpBase)
Public MethodWriteAsync Start an asynchronous write on the socket. (Inherited from Dart.Sockets.TcpBase)
Public MethodWriteTaskAsync Start an awaitable asynchronous write on the socket. (Inherited from Dart.Sockets.TcpBase)
Top
Protected Methods
 NameDescription
Protected MethodFinalize (Inherited from System.ComponentModel.Component)
Protected MethodGetService (Inherited from System.ComponentModel.Component)
Protected MethodMemberwiseCloneOverloaded. Creates a shallow copy of the current System.MarshalByRefObject object. (Inherited from System.MarshalByRefObject)
Protected MethodOnDataRaises the Data event. (Inherited from Dart.Sockets.TcpBase)
Protected MethodOnErrorRaises the Error event. (Inherited from Dart.Sockets.ComponentBase)
Protected MethodOnLogRaises the Log event. (Inherited from Dart.Sockets.TcpBase)
Protected MethodOnStateChangedRaises the StateChanged event. (Inherited from Dart.Sockets.TcpBase)
Protected MethodOnUserStateRaises the UserState event. (Inherited from Dart.Sockets.ComponentBase)
Top
Public Events
 NameDescription
Public EventDataRaised when Marshal(Data,String,Object) is used. (Inherited from Dart.Sockets.TcpBase)
Public EventDisposed (Inherited from System.ComponentModel.Component)
Public EventErrorRaised when Marshal(Exception) is used or an unhandled Exception is thrown in a worker thread created using Start. (Inherited from Dart.Sockets.ComponentBase)
Public EventLog Raised when data is read or written. (Inherited from Dart.Sockets.TcpBase)
Public EventStateChanged Raised when the value of the State property changes. (Inherited from Dart.Sockets.TcpBase)
Public EventUserStateRaised when Marshal(String,Object) is used. (Inherited from Dart.Sockets.ComponentBase)
Top
See Also

Reference

Tcp Class
Dart.Sockets Namespace


PowerTCP Sockets for .NET Documentation Version 4.5
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic