RAD Studio VCL Reference
ContentsIndex
TServerWinSocket Members Public Methods
Public Methods
 
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. 
 
This is ReceiveBuf, a member of class TCustomWinSocket. 
 
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. 
 
This is SendStream, a member of class TCustomWinSocket. 
 
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. 
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.