diff options
author | Luke Bratch <luke@bratch.co.uk> | 2019-06-12 20:31:39 +0100 |
---|---|---|
committer | Luke Bratch <luke@bratch.co.uk> | 2019-06-12 21:28:34 +0100 |
commit | 0ea06b9c632af2fe09cdea8be0baa9ae6e538aeb (patch) | |
tree | 8d7fdc93aa0a0f5c64b0441f93e30d12702580b1 /sockets.h | |
parent | 511e258e901e5248e1706609ba1099507fd750ae (diff) |
Handle failing to connect to the server on startup.
Diffstat (limited to 'sockets.h')
-rw-r--r-- | sockets.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -44,6 +44,7 @@ void *get_in_addr(struct sockaddr *sa); // Create socket to connect to real IRC server +// Returns the socket descriptor on success, or -1 on error int createserversocket(char *host, char *port); // Create listening socket to listen for bouncer client connections |