PYTHON Sockets and structure
<p>Is there any way of converting the python socket object to a void pointer. I am using ctypes and I have tried using cast and the conversion functions of python. </p>

<p>I am also using a DLL and there is a function which takes structure as its argument.
But when i pass the structure to the function I am getting invalid parameters as error.
Is there any drawback in using python for C DLL's created on C which take C type parameters?</p>
