Hi Petr, port-id is the port number of the TCP connection... eg, port=80 for http, etc. While conventions exist for all the low numbered ports, you can generally use higher numbered ones for your own applications w/o difficulty. Just have to make sure they're unique on the two machines that are in communication... and that they pass through any firewalls appropriately. What it's "good for" is that the same pair of IP's can have many TCP connections open for differet purposes at the same time. And so people know in advance what the typical port is for certain purposes... FTP, POP, SMTP, HTTP, etc. R. ============ >btw: what does port/port-id means? What is the number good for? Is it id number >of socket reserved for communication or what? > >Thanks, > >-pekr- >
