Re: query a port

2005-10-30 Thread Dan M
On Sat, 29 Oct 2005 23:21:16 -0700, eight02645999 wrote: > thanks alot! > that's all there is to it..so it's just a simple connect. If all you want to do is check that the given port is open on the given host, that's it. I tried it on my local box. When connecting to port 25, it made the connecti

Re: query a port

2005-10-30 Thread Lawrence Oluyede
Il 2005-10-30, [EMAIL PROTECTED] <[EMAIL PROTECTED]> ha scritto: > hi > in python, how do one query a port to see whether it's up or not? > thanks > Have a look at this: http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/286240 -- Lawrence http://www.ol

Re: query a port

2005-10-29 Thread eight02645999
thanks alot! that's all there is to it..so it's just a simple connect. Dan M wrote: > On Sat, 29 Oct 2005 20:21:20 -0700, eight02645999 wrote: > > > hi > > in python, how do one query a port to see whether it's up or not? > > thanks > > I'm

Re: query a port

2005-10-29 Thread Dan M
On Sat, 29 Oct 2005 20:21:20 -0700, eight02645999 wrote: > hi > in python, how do one query a port to see whether it's up or not? > thanks I'm an absolute beginner, but let's see if I can help. Assuming you want to check a port on another machine, import socket port=25

query a port

2005-10-29 Thread eight02645999
hi in python, how do one query a port to see whether it's up or not? thanks -- http://mail.python.org/mailman/listinfo/python-list