Hi everyone,<br><div class="gmail_quote"><br>     I&#39;m trying to connect to homematic server at address &#39;192.168.1.251&#39; and port &#39;2001&#39;. I have a sample twisted server and client on my localhost. It&#39;s working fine. Now to the functions in server protocol.py file, I added another function  (as shown below) which creates another client that connects to homematic server. But it&#39;s giving following error when I start the client.<br>

Error: <br>       File &quot;/home/vinodh/Desktop/homematic/xmlrpc_twisted/protocol.py&quot;, line 45, in xmlrpc_init<br>       d = ClientCreator(reactor).connectTCP(self,&#39;192.168.1.251&#39;,2001)<br>       exceptions.TypeError: __init__() takes at least 3 arguments (2 given)&quot;<br>

<br>my scenario is this way:<br>mycleint ---&gt; myserver(protocol file---&gt;cliet--&gt;homematic server) <br><br>Please help me out.<br><br>Thanks,<br>Vinod<br>
</div><br>