From 34836ab2c9124e17d80bd8e8a1601398297391a8 Mon Sep 17 00:00:00 2001 From: Luke Bratch Date: Sun, 12 May 2019 19:11:30 +0100 Subject: Make client port configurable and move settings structure to be initialised in main() instead of dochat(). --- sockets.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'sockets.h') diff --git a/sockets.h b/sockets.h index 08ca457..523d609 100644 --- a/sockets.h +++ b/sockets.h @@ -17,8 +17,6 @@ #define BACKLOG 10 // maximum length to which the queue of pending connections for sockfd may grow -#define BOUNCERLISTENPORT "1234" // TODO: change this to a config option! - // get sockaddr, IPv4 or IPv6: void *get_in_addr(struct sockaddr *sa); -- cgit v1.2.3