TWSocket.Port
Main page -> ICS component reference -> TWSocket -> Port
Definition
property Port: string;
Description
Client
This specifies the port on the server where a connect will connect you. This only applies to TCP, since UDP doesn't use the client/server sheme.
Server
The port on the interface where the server will listen either for incomming connections and data (TCP) or for data only (UDP).
Under windows the netstat command may be used to check which ports are already in use and by what application. Call netstat -? for details on its usage.