Hi All from France,
Is somebody to know if Gambas Serversocket has a limitation to port numbering ?
It's appear than port < 1023 can't be used, is it a bug or normal feature ?
Regards
Olivier
Gambas ServerSocket port limitation
Re: Gambas ServerSocket port limitation
I made the answer
Ports 1 to 1024 are root usage only
regards
Olivier
Ports 1 to 1024 are root usage only
regards
Olivier
Re: Gambas ServerSocket port limitation
this is not a gambas limitation ...
TCP / UDP ports that have been standardized by the IANA:
TCP / UDP ports that have been standardized by the IANA:
Standardized ports: 0 - 1023 (&H0000 to &H03FF)
On Unix-like operating systems, only the root account may operate services that are on ports below 1024.
Registered ports: 1024 – 49151 (&H0400 to &HBFFF)
These ports from No. 1024 to No. 49151 are registered ports . On most systems, these ports can be used by normal users without special rights.
Dynamic port addresses: 49152 - 65535 (&HC000 to &HFFFF)
The port addresses from 49152 is, according to RFC 6335 to dynamic ports that can be used locally by applications and / or dynamic. These connection numbers are not assigned by IANA, so it cannot be ruled out that other applications are already using a port or that the operating system forbids its use.