I agree with you; I don’t think the current close votes are valid.
Indeed, there are two things that could have been interpreted as an off-site resource:
The ‘input’: You’re using some external library. I don’t see this as a big deal; there’s plenty of nonstandard libraries being used, but I don’t see anyone calling a witch-hunt on boost.
The ‘output’: Some questions explicitly ask for recommendations on off-site resources, like libraries or tutorials. These are off-topic.
Your question here on Meta seems to focus a little on the input-side of it, but I think the people who have voted to close are objecting to the output-side. In particular, your original question was very specific about “looking for something”:
Looking for a “Hello World” of SimplSocket() library
I'm looking for a sample on how to configure and use SimplSocket, and found none. […] I'm hoping the sample will mention […]
If you really were looking for some sort of off-site resource as it appeared, it’s off-topic. But there is an easy way to get around this: rather than asking for some sort of resource, ask for whatever content you know might appear in such a resource. In your specific case of asking for a sample of how to do X, you might instead just ask how to do X. I tried to make that more explicit in my edit.
Now, that doesn’t necessarily mean you’re off home-free; in particular, you could still get bitten by the ‘too broad’ close reason if the resulting snippet is expected to be long enough. But that’s a separate concern; rewording to ask how to do something rather than resources on how to do it gets you a little further.