System.Win.ScktComp.TCustomWinSocket.OnErrorEvent
Delphi
property OnErrorEvent: TSocketErrorEvent read FOnErrorEvent write FOnErrorEvent;
C++
__property TSocketErrorEvent OnErrorEvent = {read=FOnErrorEvent, write=FOnErrorEvent};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | public | System.Win.ScktComp.pas System.Win.ScktComp.hpp |
System.Win.ScktComp | TCustomWinSocket |
Description
Occurs when the socket fails in making, using, or shutting down a connection.
Socket components provide an OnErrorEvent event handler that converts error notifications into error events on the socket component. Most applications will therefore not provide an event handler for OnErrorEvent.