RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TClientWinSocket Members

The following tables list the members exposed by TClientWinSocket.

 
Name 
Description 
 
Looks up information or forms socket connections asynchronously. 
 
Opens a listening connection. 
 
Opens a connection to a remote socket. 
 
Generates an OnErrorEvent event. 
 
Triggers an OnSocketEvent event. 
 
Generates a windows Internet socket address structure from a description of the desired socket port. 
 
Sets the ASyncStyles property. 
 
This is SetClientType, a member of class TClientWinSocket. 
 
Name 
Description 
 
Occurs when the socket fails in making, using, or shutting down a connection. 
 
Occurs when the Windows socket receives notification of asynchronous events. 
 
Name 
Description 
 
Provides the interface for a method that accepts a connection to a client socket. 
 
Shuts down the socket connection if it is open. 
 
Responds to connection notifications. 
 
Creates an instance of TCustomWinSocket from a Windows socket handle. 
 
Processes message records. 
 
Destroys an instance of TCustomWinSocket
 
Shuts down the socket connection represented by a Windows socket handle. 
 
Opens a listening connection for a server socket. 
 
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 
 
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. 
 
Specifies whether the client Windows socket reads and writes information asynchronously over the socket connection. 
 
Indicates whether the socket connection is open and available for communication with other machines. 
 
Data 
Points to application-specific data associated with the socket. 
 
Specifies the handle of the window that receives notifications from the Windows socket. 
 
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 the Windows handle for the socket. 
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!