RAD Studio
|
Server socket components form two types of connections: listening connections and connections to client applications. The server socket receives events during the formation of each of these connections.
Just before the listening connection is formed, the OnListening event occurs. You can use its Handle property to make changes to the socket before it is opened for listing. For example, if you want to restrict the IP addresses the server uses for listening, you would do that in an OnListening event handler.
When a server socket accepts a client connection request, the following events occur:
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|