Socket communication check