<div dir="ltr">Hi,<div style>I am using Network.Connection to connect to gmail in my Haskell module - that&#39;s compiled to DLL and invoked from C.</div><div style><br></div><div style>I need a mechanism to return the connection handle to C so that it can pass it in the subsequent calls. How can I achieve this?</div>
<div style><br></div><div style>Regards,</div><div style>Kashyap</div></div>