No it isn't.

The determination of the socket being successful (checking $sockerr) or not is done in the sockopen event, which has no connection to a channel.

From which location you initiate this, whether it be from a channel, pm, or just a status window is irrelevant, as the checking of the status isn't done there.