<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Thanks for the info : ). I will look into it ! Right now I am having a strange problem. I am trying to use cookies and the import function returns an error:<div><br></div><div>I am using python 3:</div><div><br></div><div>from http import cookies</div><div><br></div><div><span class="Apple-style-span" style="font-family: 'Trebuchet MS', Helvetica, sans-serif; font-size: 13px; "><strong style="margin-top: 0px; color: rgb(228, 69, 11); ">importError:</strong> No module named http</span></div><div><br></div><div>Is it my configuration or has something changed since the documentation was written? Sorry I might be asking too many question, I am pretty new to this stuff and kinda feel lost here and there : (</div><div><br></div><div>Thanks,</div><div>Nav</div><div><br></div><div><br></div><div><br><div><div>On 24-Jul-2010, at 6:34 AM, MRAB wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Navkirat Singh wrote:<br><blockquote type="cite">Hey Everyone,<br></blockquote><blockquote type="cite">I had a question, programming sockets, what are the things that would degrade performance and what steps could help in a performance boost? I would also appreciate being pointed to some formal documentation or article.<br></blockquote><blockquote type="cite">I am new to this.<br></blockquote>Interleaving processing and sending/receiving might reduce throughput<br>because when you're processing the socket is idle (depending on how much<br>buffering there is). You could do the socket stuff in another thread so<br>that it's not waiting for the processing to finish while there is data<br>available, and use a queue to transfer the data between that thread and<br>the processing thread.<br>-- <br><a href="http://mail.python.org/mailman/listinfo/python-list">http://mail.python.org/mailman/listinfo/python-list</a><br></div></blockquote></div><br></div></body></html>