System.Win.ScktComp.TCustomSocket Events

From RAD Studio API Documentation
Jump to: navigation, search


InheritedProtected
OnAcceptprotectedOccurs on server sockets just after the connection to a client socket is accepted.
OnConnectprotectedOccurs on client sockets just after the connection to the server is opened.
OnConnectingprotectedOccurs for a client socket after the server socket has been located, but before the connection is established.
OnDisconnectprotectedOccurs just before a client socket closes the connection to a server socket.
OnErrorprotectedOccurs when the socket fails in making, using, or shutting down a connection.
OnGetDeltaStreamsprotected
OnListenprotectedOccurs just before a server socket is opened for listening.
OnLookupprotectedOccurs when a client socket is about to look up the server socket with which it wants to connect.
OnReadprotectedOccurs when a client socket should read information from the socket connection.
OnWriteprotectedOccurs when a client socket should write information to the socket connection.