I'd suggest to use the word 'socket' here, makes it more specific and is more common across different applications.

Furthermore, am I reading the code correct that you're first logging that you're listening on socket X, and only afterwards checking if the action is actually successful?