Listening for Client Requests
Go Up to Using Server Sockets
Once you have set the port number of your server socket component, you can form a listening connection at run time by calling the Open method. If you want your application to form the listening connection automatically when it starts up, set the Active property to True at design time, using the Object Inspector.