No, the site has not become less welcoming. Code Review users are not out to harm anyone. Rather, we're looking out for the quality of questions on the site. The comments you received were trying to help you improve the question.
You've posted good questions before. This one wasn't as good. I felt that the question was not answerable in its original form, so I downvoted it, and stated my reason in a comment:
This is an awkward library. Why do these two pieces of functionality belong together in the same program or library? Also, the
conn_wr() function looks like a hypothetical example or placeholder for some other functionality. I feel like you're hiding something from us in this question, and it's hard to advise you properly.
I would be glad to undo my downvote (and encourage others to do so) if you improved the question by providing the necessary context for a review.
This is in addition to @SamOnela's observation that Code Review titles should simply state the task accomplished by the code, as per the How to Ask guidelines.