summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Slimber/Server.h')
-rw-r--r--Slimber/Server.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/Slimber/Server.h b/Slimber/Server.h
index 4842cd9..2ee5a4a 100644
--- a/Slimber/Server.h
+++ b/Slimber/Server.h
@@ -1,3 +1,3 @@
/*
- * Copyright (c) 2010-2016 Isode Limited.
+ * Copyright (c) 2010-2018 Isode Limited.
* All rights reserved.
@@ -43,4 +43,4 @@ namespace Swift {
Server(
- int clientConnectionPort,
- int linkLocalConnectionPort,
+ unsigned short clientConnectionPort,
+ unsigned short linkLocalConnectionPort,
LinkLocalServiceBrowser* browser,
@@ -53,3 +53,3 @@ namespace Swift {
- int getLinkLocalPort() const {
+ unsigned short getLinkLocalPort() const {
return linkLocalConnectionPort;
@@ -57,3 +57,3 @@ namespace Swift {
- int getClientToServerPort() const {
+ unsigned short getClientToServerPort() const {
return clientConnectionPort;
@@ -107,4 +107,4 @@ namespace Swift {
bool rosterRequested;
- int clientConnectionPort;
- int linkLocalConnectionPort;
+ unsigned short clientConnectionPort;
+ unsigned short linkLocalConnectionPort;
LinkLocalServiceBrowser* linkLocalServiceBrowser;