RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TServerWinSocket Members

The following tables list the members exposed by TServerWinSocket.

 
Name 
Description 
 
Looks up information or forms socket connections asynchronously. 
 
This is ClientConnect, a member of class TServerWinSocket. 
 
This is ClientDisconnect, a member of class TServerWinSocket. 
 
This is ClientErrorEvent, a member of class TServerWinSocket. 
 
This is ClientRead, a member of class TServerWinSocket. 
 
This is ClientWrite, a member of class TServerWinSocket. 
 
This is DoCreateThread, a member of class TServerWinSocket. 
 
Opens a listening connection. 
 
Opens a connection to a remote socket. 
 
Generates an OnErrorEvent event. 
 
Triggers an OnSocketEvent event. 
 
This is GetClientSocket, a member of class TServerWinSocket. 
 
This is GetServerThread, a member of class TServerWinSocket. 
 
Generates a windows Internet socket address structure from a description of the desired socket port. 
 
Opens a listening connection for a server socket. 
 
Sets the ASyncStyles property. 
 
This is SetServerType, a member of class TServerWinSocket. 
 
This is SetThreadCacheSize, a member of class TServerWinSocket. 
 
This is ThreadEnd, a member of class TServerWinSocket. 
 
This is ThreadStart, a member of class TServerWinSocket. 
 
Name 
Description 
 
Occurs when a client socket completes a connection accepted by the listening socket. 
 
Occurs when one of the connections to a client socket is closed. 
 
Occurs when a failure is encountered when establishing, using, or terminating the socket connection to an individual client socket. 
 
Occurs when the server socket should read information from a client socket. 
 
Occurs when the server socket should write information to a client socket. 
 
Occurs when the socket fails in making, using, or shutting down a connection. 
 
Occurs when the server socket needs to create a new TServerClientWinSocket object to form the connection to a client socket. 
 
Occurs when the server socket needs to create a new execution thread for a connection to a client socket. 
 
Occurs when the Windows socket receives notification of asynchronous events. 
 
Occurs when a client socket connection is terminated and the associated thread finishes execution. 
 
Occurs when the execution thread for a connection to a client socket starts up. 
 
Name 
Description 
 
Accepts a connection to a client socket. 
 
Shuts down the socket connection if it is open. 
 
Provides the interface for a method that responds to connection notifications from client sockets. 
 
Creates an instance of TServerWinSocket from a Windows socket handle. 
 
Processes message records. 
 
Destroys an instance of TServerWinSocket
 
Shuts down the socket connection represented by a Windows socket handle. 
 
Returns the execution thread used by the client connection managed by the ClientSocket parameter. 
 
Lock 
Starts a critical section, blocking all other execution threads until the Unlock method is called. 
 
Generates the portion of a Windows Internet socket address structure that describes the host. 
 
Returns the port number associated with a specific service. 
 
Open 
Opens a connection to a remote socket. 
 
Read 
Generates an OnSocketEvent of type seRead in response to notifications that the socket connection is ready. 
 
Reads up to Count bytes from the socket connection into the Buf parameter. 
 
Returns the number of bytes ready to be sent over the socket connection. 
 
Reads a string from the socket connection. 
 
Writes Count bytes to the socket connection from the Buf parameter. 
 
Writes all the information that can be read from the AStream parameter to the socket connection. 
 
Writes all the information that can be read from the AStream parameter to the socket connection and then terminates the connection. 
 
Writes the string S to the socket connection. 
 
Reenables execution in other threads after a critical section begun by the Lock method. 
 
Generates an OnSocketEvent of type seWrite in response to notifications that the socket connection is ready. 
 
Name 
Description 
 
Indicates the number of connections to client sockets accepted by this listening socket that are currently open. 
 
Indicates the number of TServerClientThread objects currently in use by the socket connections listed in the Connections array. 
 
Addr 
Specifies the Internet socket address structure used in Windows socket API calls to represent the full specification of the socket port. 
 
Determines which asynchronous events the socket can receive. 
 
Indicates whether the socket connection is open and available for communication with other machines. 
 
Lists all TServerClientWinSocket objects that represent open socket connections to client sockets that were accepted by this listening socket. 
 
Data 
Points to application-specific data associated with the socket. 
 
Specifies the handle of the window that receives notifications from the Windows socket. 
 
Indicates the number of unused TServerClientThread objects available in the cache. 
 
Specifies the IP address of the local system that was bound to the socket connection. 
 
Specifies the name of the local system. 
 
Specifies the ID number of the port used by the socket connection. 
 
Indicates any asynchronous activities occurring while opening a connection. 
 
Specifies the Internet socket address structure used in Windows socket API calls to represent the full specification of the remote socket port. 
 
Specifies the IP address of the remote system that was bound to the socket connection. 
 
Specifies the name of the remote system. 
 
Specifies the ID number of the port used by the RemoteHost to form the socket connection. 
 
Specifies whether each connection accepted by the server socket is non-blocking, or if it is automatically given a separate execution thread. 
 
Specifies the Windows handle for the socket. 
 
Indicates the number of TServerClientThread objects cached for reuse by new connections to client sockets. 
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!