attrs->sndbuf_size = 0; attrs->rcvbuf_size = 0;
void ca_init(connection_attributes *attrs){	assert(attrs != NULL);	attrs->family    = PROTO_UNSPECIFIED;	attrs->protocol  = TCP_PROTOCOL;	address_init(&(attrs->remote_address));	address_init(&(attrs->local_address));	/* set default values for everything */	attrs->buffer_size = DEFAULT_BUFFER_SIZE;	attrs->remote_mtu = 0;	attrs->remote_nru = 0;	attrs->local_hold_timeout = -1;	attrs->remote_hold_timeout = 0;	attrs->remote_half_close_suppress = TRUE;	attrs->local_half_close_suppress = FALSE;	attrs->connect_timeout = -1;}