aboutsummaryrefslogtreecommitdiffstats
path: root/include/socket.h
diff options
context:
space:
mode:
authorGravatar Peter Powell2017-08-28 19:28:53 +0100
committerGravatar Peter Powell2017-09-12 15:05:24 +0100
commit5a378e8954717c19deaa618fc326164680383505 (patch)
tree079cdd528cd3f0da2408da9854307db39bd0c8b8 /include/socket.h
parentStore the server endpoint as a sockaddrs in ListenSocket. (diff)
downloadinspircd++-5a378e8954717c19deaa618fc326164680383505.tar.gz
inspircd++-5a378e8954717c19deaa618fc326164680383505.tar.bz2
inspircd++-5a378e8954717c19deaa618fc326164680383505.zip
Change FailedPortList to store a sockaddrs/int instead of string.
Diffstat (limited to 'include/socket.h')
-rw-r--r--include/socket.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/socket.h b/include/socket.h
index 375697ea1..8c7cc2e4e 100644
--- a/include/socket.h
+++ b/include/socket.h
@@ -119,6 +119,9 @@ namespace irc
}
}
+/** A list of failed port bindings, used for informational purposes on startup */
+typedef std::vector<std::pair<irc::sockets::sockaddrs, int> > FailedPortList;
+
#include "socketengine.h"
/** This class handles incoming connections on client ports.
* It will create a new User for every valid connection