Øyvind wrote:
Hello.
I need to query the whois at Ripe.net. It tells me to connect to port 43.
I have found a description how to connect with .Net.
http://www.aspheute.com/english/2825.asp I am not very familiar with
network protocols, but assume this will be no big problem with Python. Can
someone point me in the right direction to what modules I would use in
Python to connect to the whois-server.
The socket module is for low-level TCP connections.
I would also appriciate if someone
had a link to a 'dummies' tutorial/manual/faq for the networking theory I
need, or any hints about the direction I should look...
There is a socket programming HOW-TO here:
http://www.amk.ca/python/howto/sockets/
Google finds a couple of existing implementations of whois in Python:
http://www.dotfunk.com/projects/whois/
http://midori.callisia.com/~jonan/software/rwhois/
Kent
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor