leicacam/cam.py
def connect(self):
        """Connect to LASAF through a CAM-socket."""
        self.socket = socket.socket()
        self.socket.connect((self.host, self.port))
        self.socket.settimeout(False)  # non-blocking
        sleep(self.delay)  # wait for response
        self.welcome_msg = self.socket.recv(
            self.buffer_size)
def connect(self):
        """Connect to LASAF through a CAM-socket."""
        self.socket = socket.socket()
        self.socket.connect((self.host, self.port))
        self.socket.settimeout(False)  # non-blocking
        sleep(self.delay)  # wait for response
        self.welcome_msg = self.socket.recv(
            self.buffer_size)
def connect ( self ) : self . socket = socket . socket ( ) self . socket . connect ( ( self . host , self . port ) ) self . socket . settimeout ( False ) # non-blocking sleep ( self . delay ) # wait for response self . welcome_msg = self . socket . recv ( self . buffer_size )
Connect to LASAF through a CAM-socket.
Connect to LASAF through a CAM - socket .