RAD Studio |  |

Specifying the Port
See Also
Collapse All

Before your server socket can listen to client requests, you must specify the port that your server will listen on. You can specify this port using the LocalPort property. If your server application is providing a standard service that is associated by convention with a specific port number, you can also specify the service name using the LocalPort property. It is a good idea to use the service name instead of a port number, because it is easy to introduce typographical errors when specifying the port number.

See Also

Listening for Client Requests

Connecting to Clients

Reading and Writing Over Socket Connections

Closing Server Connections

Services and Ports

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!