[EMAIL PROTECTED] wrote:
Hello,
I have two client computers, each has its own host name.
Hello,
I did not understand your problem. I do not see cleary what you want to do?
When you say "client", do you mean a client in a client-server architecture?
Maybe you want to create a peer-to-peer connection -- that is not the same.
#Server program. Could we use client hostname here ?
Of course you can use the client's hostname. But for what purpose?
print "connected from:",addr
You can do a reverse DNS lookup here to get the hostname of the client.
#Client program
Ok, it seems to me that you have one client and one server. Am I wrong?
Do you want to create a connection socket between the two clients?
Is it your problem?
--
_________________________________________________________________
Laszlo Nagy web: http://designasign.biz
IT Consultant mail: [EMAIL PROTECTED]
Python forever!
--
http://mail.python.org/mailman/listinfo/python-list