set maximum port value to 65535 instead of old arbitrary value of 50000, and warned about system-reserved ports in server settings gui

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4486 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2011-07-23 20:07:06 +00:00
parent 0b890420a0
commit b3052e0208
2 changed files with 9 additions and 3 deletions

View File

@ -42,7 +42,7 @@
#define PQI_MIN_PORT 1024
#define PQI_MAX_PORT 50000
#define PQI_MAX_PORT 65535
#define PQI_DEFAULT_PORT 7812
int getPQIsearchId();

View File

@ -732,8 +732,11 @@ peers still need to trust each other to allow connection. </string>
</item>
<item row="0" column="2">
<widget class="QSpinBox" name="localPort">
<property name="toolTip">
<string>Acceptable ports range from 1024 to 65535. Ports below 1024 are reserved by your system.</string>
</property>
<property name="minimum">
<number>0</number>
<number>1024</number>
</property>
<property name="maximum">
<number>65535</number>
@ -755,8 +758,11 @@ peers still need to trust each other to allow connection. </string>
</item>
<item row="1" column="2">
<widget class="QSpinBox" name="extPort">
<property name="toolTip">
<string>Acceptable ports range from 1024 to 65535. Ports below 1024 are reserved by your system.</string>
</property>
<property name="minimum">
<number>0</number>
<number>1024</number>
</property>
<property name="maximum">
<number>65535</number>