Hardcode ports without calculation

This commit is contained in:
Tobias Eidelpes 2020-11-11 16:38:02 +01:00
parent 7397ee95c4
commit 50b3b45866
6 changed files with 14 additions and 14 deletions

View File

@ -1,3 +1,3 @@
# <domain>=<socket-address>
earth.planet=127.0.0.1:11620+2
univer.ze=127.0.0.1:11620+4
earth.planet=127.0.0.1:11622
univer.ze=127.0.0.1:11624

View File

@ -1,8 +1,8 @@
# TCP port used for the DMTP server socket
dmtp.tcp.port=11620+2
dmtp.tcp.port=11622
# TCP port used for the DMAP server socket
dmap.tcp.port=11620+3
dmap.tcp.port=11623
# mail domain managed by the mailbox server
domain=earth.planet
@ -19,4 +19,4 @@ root_id=root-nameserver
registry.host=localhost
# RMI registry port
registry.port=11620+9
registry.port=11629

View File

@ -1,8 +1,8 @@
# TCP port used for the DMTP server socket
dmtp.tcp.port=11620+4
dmtp.tcp.port=11624
# TCP port used for the DMAP server socket
dmap.tcp.port=11620+5
dmap.tcp.port=11625
# mail domain managed by the mailbox server
domain=univer.ze
@ -19,4 +19,4 @@ root_id=root-nameserver
registry.host=localhost
# RMI registry port
registry.port=11620+9
registry.port=11629

View File

@ -1,2 +1,2 @@
# UDP port used for accepting monitoring packets
udp.port=11620+8
udp.port=11628

View File

@ -3,7 +3,7 @@ tcp.port=11620
# UDP socket address of the monitoring server
monitoring.host=127.0.0.1
monitoring.port=11620+8
monitoring.port=11628
# ============================================= Required for Assignment 2
@ -14,4 +14,4 @@ root_id=root-nameserver
registry.host=localhost
# RMI registry port
registry.port=11620+9
registry.port=11629

View File

@ -1,9 +1,9 @@
# TCP port used for the DMTP server socket
tcp.port=11620+1
tcp.port=11621
# UDP socket address of the monitoring server
monitoring.host=127.0.0.1
monitoring.port=11620+8
monitoring.port=11628
# ============================================= Required for Assignment 2
@ -14,4 +14,4 @@ root_id=root-nameserver
registry.host=localhost
# RMI registry port
registry.port=11620+9
registry.port=11629