title: How to stop a python socket.accept() call?
body: <p>I am a newbie in python sockets and am really troubled by the stubbornness of the <code>socket.accept()</code> method. I really need a way of ending a <code>socket.accept()</code> method or any other alternative to <code>socket.accept()</code> which runs one time only.</p>