(kirk, thanks for replying)
I always though 65535 was the highest port number a computer can bind/connect to. But I was proved wrong. I have an sun station with solaris 2.8, debian 2.2 and redhat 6.2 and its has a 64-bit ultrasparc-60 processor.
I wrote a small C program (under redhat) and i 'bind'ed to port ... 1231212, and it successfully worked. I also tried to connect to this port using a client script. It worked.
does anyone know the greatest port number on my system type?
-Sridhar