warn(_("error with sockopt TCP_NODELAY: %s"),
warn(_("error with setsockopt TCP_NODELAY: %s"),
static void set_sockopts(const connection_attributes* attrs,		         int sock, const struct addrinfo* sockinfo){	int on, err;	/* set the reuse address socket option */	if (is_flag_set(DONT_REUSE_ADDR) == FALSE) {		on = 1;		/* in case of error, we will go on anyway... */		err = setsockopt(sock, SOL_SOCKET, SO_REUSEADDR,				 &on, sizeof(on));		if (err < 0)			warn(_("error with sockopt SO_REUSEADDR: %s"),			     strerror(errno));	}	/* disable the nagle option for TCP sockets */	if (is_flag_set(DISABLE_NAGLE) == TRUE &&	    sockinfo->ai_protocol == IPPROTO_TCP)	{		on = 1;		/* in case of error, we will go on anyway... */		err = setsockopt(sock, IPPROTO_TCP, TCP_NODELAY,				 &on, sizeof(on));		if (err < 0) 			warn(_("error with sockopt TCP_NODELAY: %s"),			     strerror(errno));	}	/* setup the kernel sndbuf size */	if ((on = ca_sndbuf_size(attrs)) > 0) {		/* in case of error, we will go on anyway... */		err = setsockopt(sock, SOL_SOCKET, SO_SNDBUF, 				 &on, sizeof(on));		if (err < 0)			warn(_("error with sockopt SO_SNDBUF: %s"),			     strerror(errno));	}	/* setup the kernel rcvbuf size */	if ((on = ca_rcvbuf_size(attrs)) > 0) {		/* in case of error, we will go on anyway... */		err = setsockopt(sock, SOL_SOCKET, SO_RCVBUF, 				 &on, sizeof(on));		if (err < 0)			warn(_("error with sockopt SO_RCVBUF: %s"),			     strerror(errno));	}}