On 10 Apr 2007 11:07:51 -0700, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> On 26 Mar., 18:08, [EMAIL PROTECTED] wrote:
> > you know the pid, you can kill it, but that's not always a
> > clean way of accomplishing the task.
>
> So I have to open the connection in a new process... Sigh.. How I hat
On 26 Mar., 18:08, [EMAIL PROTECTED] wrote:
> you know the pid, you can kill it, but that's not always a
> clean way of accomplishing the task.
So I have to open the connection in a new process... Sigh.. How I hate
this part of Python.
--
http://mail.python.org/mailman/listinfo/python-list
On Mar 26, 10:53 am, Thomas Dybdahl Ahle <[EMAIL PROTECTED]> wrote:
> Hi, I'm writing an application that connects to the internet.
> Something like this:
>
> for res in socket.getaddrinfo(host, port, 0, socket.SOCK_STREAM):
> af, socktype, proto, canonname, sa = res
> try:
> self.s
Hi, I'm writing an application that connects to the internet.
Something like this:
for res in socket.getaddrinfo(host, port, 0, socket.SOCK_STREAM):
af, socktype, proto, canonname, sa = res
try:
self.sock = socket.socket(af, socktype, proto)
Now if the user press the cancel button