RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TTcpServer Members

The following tables list the members exposed by TTcpServer.

 
Name 
Description 
 
FComponentStyle is the field of the ComponentStyle read-only property. 
 
Name 
Description 
 
Called when an application uses a component interface. 
 
Called when an application releases a component interface. 
 
Copies the properties of an object to a destination object. 
 
Bind 
This is Bind, a member of class TIpSocket. 
 
Sets the private, internal storage for the Name property to the string passed in NewName. 
 
Designates methods for storing an object's unpublished data on a stream such as a form file. 
 
Provides an interface for a method that reads and writes otherwise unpublished data. 
 
This is DoAccept, a member of class TCustomTcpServer. 
 
This is DoCreateHandle, a member of class TBaseSocket. 
 
This is DoDestroyHandle, a member of class TBaseSocket. 
 
This is DoHandleError, a member of class TBaseSocket. 
 
This is DoReceive, a member of class TBaseSocket. 
 
This is DoSend, a member of class TBaseSocket. 
 
This is ErrorCheck, a member of class TBaseSocket. 
 
Returns the owner of a child component being read from a stream. 
 
Returns the parent, or if there is no parent, returns the owner of a child component being read from a stream. 
 
Enumerates all child components. 
 
Maps a single member and an optional set of argument names to a corresponding set of integer dispatch identifiers (dispIDs). 
 
Returns the owner of a component. 
 
Returns the owner of an object. 
 
Retrieves the type information for an object. 
 
Returns the number of type information interfaces that an object provides (either 0 or 1). 
 
Provides access to Automation properties and methods when the component wraps an Automation object. 
 
This is Listen, a member of class TCustomTcpServer. 
 
Initializes the component after the form file has been read into memory. 
 
Initializes the component after the form file has been read into memory. 
 
Forwards notification messages to all owned components. 
 
Responds when the component is created from the component palette. 
 
Returns a reference to a specified interface if the object supports that interface. 
 
Reads the state of the component. 
 
Clears or sets csAncestor state in the component's ComponentState property. 
 
This is SetBytesReceived, a member of class TBaseSocket. 
 
This is SetBytesSent, a member of class TBaseSocket. 
 
Sets the visual ordering of a child control. 
 
Ensures that components inserted at design time have their design-mode flag set. 
 
Ensures that components inserted at design time have their design-mode flag set. 
 
Sets the csInline bit of the component's ComponentState property 
 
Sets the value of the Name property. 
 
Sets the parent component. 
 
Clears the csUpdating state in the component's ComponentState property when the component finishes updating. 
 
Provides the interface for a method that adds type library and version information to the Registry on components that implement COM interfaces. 
 
Sets the csUpdating state in the component's ComponentState property. 
 
Determines whether an object can be inserted into a container. 
 
Provides the interface for a method that validates an child component before it is inserted. 
 
Ensures that renaming an owned component does not create name conflict. 
 
Writes the state of the component. 
 
Name 
Description 
 
Occurs when the socket fails in making, using, or shutting down a connection. 
 
Occurs after a socket receives data, but before it passes the data to the application. 
 
Occurs just before a client socket writes information to the socket connection. 
 
Name 
Description 
 
Increments the reference count for this interface. 
 
Decrements the reference count for this interface. 
 
This is the overview for the Accept method overload. 
 
Responds after the last constructor has executed. 
 
Copies the contents of another, similar object. 
 
Performs any necessary actions before the first destructor is called. 
 
Responds before the first destructor executes. 
 
Returns a pointer to the runtime type information (RTTI) table for the object type. 
 
Returns a string indicating the type of the object instance (as opposed to the type of the variable passed as an argument). 
 
Determines whether an object is of a specific type. 
 
Returns the type of the immediate ancestor of a class. 
 
Returns the class reference for the object's class. 
 
Performs finalization on long strings, variants, and interface variables within a class. 
 
Shuts down the socket connection. 
 
Shuts down the socket connection. 
 
Allocates memory and constructs a safely initialized instance of a component. 
 
Creates an instance of TBaseSocket
 
Creates an instance of TCustomTcpServer
 
Creates an instance of TIpSocket
 
Constructs an object and initializes its data before the object is first used. 
 
Provides the interface for a method that processes message records. 
 
Disposes of the component and its owned components. 
 
Destroys the TPersistent instance and frees its memory. 
 
Frees the memory associated with the TBaseSocket object. 
 
Frees the memory associated with the TCustomTcpServer object. 
 
Disposes of an object instance. 
 
Destroys all owned components. 
 
Indicates that the component and its owned components are about to be destroyed. 
 
Calls message-handling methods for the object, based on the contents of the Message parameter. 
 
Checks if the current instance and the parameter are equal. 
 
Executes an action. 
 
This is the overview for the FieldAddress method overload. 
 
Indicates whether a given component is owned by the component. 
 
Free 
Destroys an object and frees its associated memory, if necessary. 
 
Deallocates memory allocated by a previous call to the System::TObject::NewInstance method. 
 
Ensures that AComponent is notified that the component is going to be destroyed. 
 
Frees the interface reference for components that were created from COM classes. 
 
Returns a reference to the component associated by the implementing class. 
 
Returns a TComponent enumerator. 
 
Returns an integer containing the hash code. 
 
Retrieves a specified interface. 
 
Returns the entry for a specific interface implemented in a class. 
 
Returns a pointer to a structure containing all of the interfaces implemented by a given class. 
 
Returns a string used by the Object Inspector. 
 
Returns the name of the object as it appears in the Object Inspector. 
 
Returns the containing Component. 
 
Builds a valid network socket address. 
 
Verifies whether the component has a parent. 
 
Determines the relationship of two object types. 
 
Initializes a newly allocated object instance to all zeros and initializes the instance's virtual method table pointer. 
 
Establishes the component as the owner of a specified component. 
 
Returns the size in bytes of each instance of the object type. 
 
Indicates whether the component implements a specified interface. 
 
Returns the domain name for the local host. 
 
Returns the local IP address for the host machine. 
 
Returns the local host name. 
 
Looks up the host address based on the host name. 
 
Looks up the host name based on the IP address. 
 
Returns the port number. 
 
Returns the protocol number. 
 
Maps the domain. 
 
Maps the socket type. 
 
This is the overview for the MethodAddress method overload. 
 
Returns the name of a class method by address. 
 
Allocates memory for an instance of an object type and returns a pointer to that new instance. 
 
Open 
Creates the socket connection. 
 
Open 
Opens the socket connection. 
 
Reads the buffer. 
 
Returns a reference to a specified interface if the object supports that interface. 
 
Reads data buffers to the socket. 
 
Receives a packet of information. 
 
Reads delimited lines of data from the socket. 
 
Establishes or removes internal links that cause this component to be notified when the implementer of a specified interface is destroyed. 
 
Removes a specified component specified from the component's Components list. 
 
Disables destruction notification that was enabled by FreeNotification 
 
Handles exceptions in methods declared using the safecall calling convention. 
 
Handles exceptions in methods declared using the safecall calling convention. 
 
Tests for socket activity. 
 
Writes data buffers of size bufsize from the socket. 
 
Writes delimited lines of data to the socket. 
 
Writes a stream of data to the socket. 
 
Sends a packet of information. 
 
Identifies whether the component is a subcomponent. 
 
Returns a string containing the class name. 
 
Returns a string containing the unit name. 
 
Updates the state of an action. 
 
Listens for TCP connections. 
 
Waits for the socket connection to be ready to transfer data. 
 
Name 
Description 
 
Returns the number of bytes received by the socket. 
 
Returns the number of bytes sent from the socket. 
 
Specifies the interface reference implemented by the component. 
 
Indicates the number of components owned by the component. 
 
Indicates the position of the component in its owner's Components property array. 
 
Lists all components owned by the component. 
 
Describes the current state of the component, indicating when a component needs to avoid certain actions. 
 
Governs the behavior of the component. 
 
Contains information used by the Form designer. 
 
Sets or returns the protocol family used by the socket. 
 
Sets or returns the protocol family used by the socket. 
 
Provides access to the unique-4 byte identifier that represents the instance of the socket object. 
 
Sets the server application to listen for client requests. 
 
Indicates the component that is responsible for streaming and freeing this component. 
 
Sets or returns the protocol used by the socket. 
 
Specifies the name of the remote system. 
 
Specifies the ID number of the port used by the RemoteHost to form the socket connection. 
 
Specifies the TServerSocketThread in use. 
 
Sets or returns the socket type. 
 
Represents information used internally by components that support COM. 
 
Name 
Description 
 
Occurs on server sockets just after the connection to a client socket is accepted. 
 
Occurs when the handle to a socket becomes active. 
 
Occurs when a socket is deactivated. 
 
A wrapper for the TServerSocketThread event of the same name. 
 
Occurs when a server socket begins listening for connections. 
 
Name 
Description 
 
Indicates whether the socket connection is open and available for communication with other machines. 
 
Sets or returns the blocking mode of the socket. 
 
Specifies the name of the local system. 
 
Specifies the ID number of the port used by the socket connection. 
 
Name 
Specifies the name of the component as referenced in code. 
 
Tag 
Stores an integer value as part of a component. 
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!