diff options
author | Luke Bratch <luke@bratch.co.uk> | 2019-05-12 19:11:30 +0100 |
---|---|---|
committer | Luke Bratch <luke@bratch.co.uk> | 2019-05-12 19:11:30 +0100 |
commit | 34836ab2c9124e17d80bd8e8a1601398297391a8 (patch) | |
tree | 3079a0db3bc95c105c04b7730ef0d4c2c4af29c4 /sockets.h | |
parent | 62fe87f6052dc28e38f2edc940b2002ede087277 (diff) |
Make client port configurable and move settings structure to be initialised in main() instead of dochat().
Diffstat (limited to 'sockets.h')
-rw-r--r-- | sockets.h | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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); |