Re: closing sockets

2005-10-04 Thread Grant Edwards
On 2005-10-04, Grant Edwards <[EMAIL PROTECTED]> wrote: >> socket.error: (98, 'Address already in use') >> >> how can i get around that > > http://www.google.com/search?hl=en&q=socket.error%3A+%2898%2C+%27Address+already+in+use%27%29&btnG=Google+Search > > The first hit has this link which explain

Re: closing sockets

2005-10-04 Thread Grant Edwards
On 2005-10-04, Mohammed Smadi <[EMAIL PROTECTED]> wrote: > hi; > > i am executing program whcih uses a tcp socket. At the end of the program > i do s.close() where s is my socket. > > when i try to run the program again right away i get the following error > Traceback (most recent call last): >

closing sockets

2005-10-04 Thread Mohammed Smadi
hi; i am executing program whcih uses a tcp socket. At the end of the program i do s.close() where s is my socket. when i try to run the program again right away i get the following error Traceback (most recent call last): File "asterisk_login.py", line 14, in ? s.bind(("", hp_port)) # do