RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TServerSocket.OnGetSocket Event

Occurs when the server socket needs to create a new TServerClientWinSocket object to represent the server endpoint of a connection to a client socket.

Pascal
property OnGetSocket: TGetSocketEvent;
C++
__property TGetSocketEvent OnGetSocket;

Write an OnGetSocket event handler to create a specialized descendant of TServerClientWinSocket for the server socket component to use. Return the new TServerClientWinSocket object in the ClientSocket parameter. The Sender parameter is the TServerWinSocket object that describes the server endpoint of the listening connection. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!