From e53dfcbdbed04cad690823ce5def521fea7b5483 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Mon, 12 Mar 2018 15:28:33 +0100 Subject: 4s timeout when connecting to server; send error to client on failure --- helper.h | 1 + 1 file changed, 1 insertion(+) (limited to 'helper.h') diff --git a/helper.h b/helper.h index f2c895b..7aaece7 100644 --- a/helper.h +++ b/helper.h @@ -7,6 +7,7 @@ void bail(char *args, ...); int helper_realloc(char **memory, size_t *curSize, const size_t newSize, const char *location); int helper_connect4(char *address, int port, char *ip); +int helper_newSocket(); void helper_nonblock(const int fd); void helper_printava(struct AttributeValueAssertion* a,const char* rel); -- cgit v1.2.3-55-g7522