Method for asking connection state and proper signaling should be added. Defined flags from socket CAN header should not be used.