![]() |
Development: Why must the port be greater than 1024? In the file uiterminal.cpp in the function bool MUITermPriv::com_open(char * arg) there is a line that prevents you from trying to connect to a port smaller than 1024. Why? """""""""" if (nPort<1024) nPort = 6346; """""""""" There are some servents running on ports smaller than 1024. Why not remove it? |
Quote:
|
Under decent operating systems port range 0-1024 is reserved for system services and protected by the security subsystem. But not under windows... There is a historical reason foe this limitation. I can in principle remove it. Post a bug (it used to be a feature, but not anymore) on mutella.sf.net, otherwise I'll forget. --Max |
Hello! The purpose of the different ports is to assign each application its own communication port over a network without the risk of confrontation between different apps.Therefore your computer has almost 65000 virtual ports.To avoid confrontations the computer industry has standardised certain ports the so called 1024 ports (number 0-1023).Examples of these ports are 21(2121) for FTP 23(2323) for Telnet 25(2525) for SMTP-server 53(5353) for DNS 80(8080) for Webb and 665 to 669 for IRC.Gnutella already uses one of these 1024 ports namely 63(6346-6348).This means that every port between 0000 and 10231023 is standardised ports.However not every port number between those numbers are used by any app so today about 65000 virtual ports are beeing used by todays computers and their apps. Notice! In reality the ports are nothing more then a bit of programming code that tells which application each sended or recieved file belongs to. |
Re: Development: Why must the port be greater than 1024? Quote:
|
All times are GMT -7. The time now is 03:54 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.
Copyright © 2020 Gnutella Forums.
All Rights Reserved.