# IoTReplicator.connect()

Create a connection with an IoTCommunicator.

### For an overview see page Python IoTReplicator Class

### Prototype

        connect(address, timeout, sock_params)

### Arguments

address | A string containing the interface address to listen on
sock_params | A dictionary is expected with the following keys:
"mode" | A flag indicating the socket open mode (integer)
"linger" | (integer)
"sndbuf" | The size of the socket send buffer in bytes (integer)
"rcvbuf" | The size of the socket receive buffer in bytes (integer)
"domain" | A flag defining the socket domain (integer)

### Description

This method initiates the IoTConnection with an IoTCommunicator object.

### Returns

Exception | An exception is thrown with the appropriate error message