RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TServerClientThread.Event Method

Generates an OnSocketEvent event for the associated server socket.

Pascal
procedure Event(SocketEvent: TSocketEvent); virtual;
C++
virtual __fastcall Event(TSocketEvent SocketEvent);

TServerClientThread assigns the Event method as an event handler for the OnSocketEvent method of the associated TClientWinSocket object. This allows events generated by the client to trigger client events on the server socket.

Warning: Event is not thread-safe. It should not be called from the server client thread. It is only intended for use by the associated client socket, which is not local to the server client thread.
 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!