TAstaServerSocket.SendCodedParamList
Applies to
TAstaServerSocket
Declaration
procedure
SendCodedParamList(ClientSocket: TCustomWinSocket;
MsgID: Integer; Params: TAstaParamList);
Description
SendCodedParamList allows you to send special messages throughout an ASTA application. The SendCodedParamList
method allows you to roll your own protocol where certain MsgIDs have specific meaning to your application.
The ability to create your own protocol in this fashion is a simple yet powerful technique. See AstaClientSocket.OnCodedParamlist
on how to code this procedure on the client. Normally messaging calls are not threaded but ASTA Servers
by default will thread messages that use SendGetCodedParamList.
If you want to thread messages sent from the server then you must use the AstaServerSocket.ThreadedUtilityEvent.