Is it possible?  Google isn&#39;t helping much. <br><br><br>The reason I ask is that the hw says the following:<br><i><br>All data processing must take place in a function<br>``handle_connection`` that takes at least one parameter and up to<br>

two::<br><br>   def handle_connection(client_sock, stuff=None):<br><br>and returns a tuple ``(close_flag, stuff)``, where ``close_flag``<br>indicates whether or not this connection should now be closed, and<br>``stuff`` is a black box that will be passed into the function<br>

on calls subsequent to the first call, e.g. ::<br><br>   # first time<br>   (flag, stuff) = handle_connection(client_sock)<br><br>   # second time (flag was true, so connection was kept &amp; processed)<br>   (flag, stuff) = handle_connection(client_sock, stuff)<br>

</i>   <br><br><br>I tried calling the function I made (using the main while loop that&#39;s been written for us already) and I get the following error: <br><i>TypeError: handle_connection() takes exactly 2 arguments (1 given)</i><br>

<br>Thanks,<br>Phil<br>