API:System.Win.ScktComp.TClientSocket.OnWrite
Delphi
property OnWrite: TSocketNotifyEvent read FOnWrite write FOnWrite;
C++
__property OnWrite;
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| event | published | System.Win.ScktComp.pas System.Win.ScktComp.hpp |
System.Win.ScktComp | TClientSocket |
Description
Occurs when a client socket should write information to the socket connection. {{#multireplace:System.Win.ScktComp.TClientSocket.OnWrite|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:System.Win.ScktComp.TCustomSocket.OnWrite|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:System.Win.ScktComp.TCustomSocket.OnWrite|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.
Occurs when a client socket should write information to the socket connection.
Write an OnWrite to write from the socket connection. If the socket is a blocking socket, use a TWinSocketStream object to write to the connection. Otherwise, u Use the methods of the Socket parameter to perform the actual writing.