PowerTCP Emulation for .NET CF
TcpBase Class Members
See Also  Fields  Properties  Methods  Events Send comments on this topic.
Dart.Common Namespace : TcpBase Class


The following tables list the members exposed by TcpBase.

Public Fields

 NameDescription
public FieldEncoding Character encoding used by the component. (Inherited from Dart.Common.ComponentBase)
public FieldTag Gets or sets an object that stores any user data. (Inherited from Dart.Common.ComponentBase)
Top

Public Properties

 NameDescription
public PropertyContainer (Inherited from System.ComponentModel.Component)
public PropertyEnableLogEventGets or sets a value indicating whether the TcpBase.Log event should be raised.  
public PropertyNetworkStreamReturns the NetworkStream object created when Connect() is called.  
public PropertyProxy Gets the proxy server information used by the component.  
public PropertyRemoteEndPoint Gets the remote address and port of the server (never the proxy).  
public PropertySite (Inherited from System.ComponentModel.Component)
public PropertySocket Gets the socket used by the component for communications. (Inherited from Dart.Common.SocketBase)
public PropertySocketOption Gets the socket options for classes derived from TcpBase.  
public PropertyState Gets the status of the connection.  
public PropertySynchronizingObject Gets or sets the object used to marshal data to the UI thread. (Inherited from Dart.Common.ComponentBase)
Top

Protected Properties

Public Methods

 NameDescription
public MethodAbort Performs a hard close of the connection.  
public MethodAuthenticateAsClientOverloaded.  Authenticates the server when establishing a secure connection.  
public MethodAuthenticateAsServerOverloaded.  Authenticates a client when establishing a secure connection.  
public MethodCloseOverloaded.  Gracefully closes the connection.  
public MethodConnectOverloaded.  Connects to the specified remote endpoint.  
public MethodCreateObjRef (Inherited from System.MarshalByRefObject)
public MethodDisposeOverloaded.  (Inherited from System.ComponentModel.Component)
public MethodGetLifetimeService (Inherited from System.MarshalByRefObject)
public MethodGetSslInfo Provides information on the SSL channel.  
public MethodGetStream Provides access to the underlying Stream.  
public MethodInitializeLifetimeService (Inherited from System.MarshalByRefObject)
public MethodMarshalOverloaded.  Marshals data to the UI thread.  
public MethodReadOverloaded.  Receives data from the remote host.  
public MethodReadToEnd Receives data until the connection is closed.  
public MethodShutdownSsl Signals the remote host to shutdown the SSL connection.  
public MethodWriteOverloaded.  Sends data to the remote host.  
Top

Protected Methods

 NameDescription
protected MethodGetService (Inherited from System.ComponentModel.Component)
protected MethodMemberwiseCloneOverloaded.  (Inherited from System.MarshalByRefObject)
protected MethodOnData Raises the Data event.  
protected MethodOnError Raises the Error event. (Inherited from Dart.Common.ComponentBase)
protected MethodOnLog Raises the Log event.  
protected MethodOnStateChanged Raises the StateChanged event.  
protected MethodOnUserState Raises the UserState event. (Inherited from Dart.Common.ComponentBase)
Top

Public Events

 NameDescription
public EventDataRaised when the Marshal method is called by the user.  
public EventDisposed (Inherited from System.ComponentModel.Component)
public EventErrorRaised when Marshal is called by the user or an unhandled Exception is thrown in a worker thread created using the Start method. (Inherited from Dart.Common.ComponentBase)
public EventLog Used to capture protocol data.  
public EventStateChanged Raised when the value of the State property changes.  
public EventUserState Raised when user state information is marshaled. (Inherited from Dart.Common.ComponentBase)
Top

See Also

Documentation Version 4.2
© 2010 Dart Communications. All Rights Reserved.