Using Server Sockets

From RAD Studio
Jump to: navigation, search

Go Up to Using Socket Components


Add a server socket component (System.Win.ScktComp.TServerSocket) to your form or data module to turn your application into an IP server. Server sockets allow you to specify the service you are providing or the port you want to use to listen for client requests. You can use the server socket component to listen for and accept client connection requests.

Each server socket component uses a single server socket object to represent the server endpoint in a listening connection. It also uses a server client socket object for the server endpoint of each active connection to a client socket that the server accepts.

Use server sockets to

See Also