summaryrefslogtreecommitdiff
path: root/include/connection.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/connection.h')
-rw-r--r--include/connection.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/connection.h b/include/connection.h
index 3316bd6c0..1550d4704 100644
--- a/include/connection.h
+++ b/include/connection.h
@@ -77,6 +77,7 @@ class ircd_connector : public classbase
std::string GetDescription();
void SetDescription(std::string desc);
int GetServerPort();
+ void SetServerPort(int p);
bool SetHostAndPort(char* host, int port);
void CloseConnection();
};
@@ -121,7 +122,7 @@ class connection : public classbase
connection();
bool CreateListener(char* host, int p);
- bool BeginLink(char* targethost, int port, char* password, char* servername);
+ bool BeginLink(char* targethost, int port, char* password, char* servername, int myport);
bool MeshCookie(char* targethost, int port, long cookie, char* servername);
void TerminateLink(char* targethost);
bool SendPacket(char *message, const char* host);