Using TCP/IP

jblazi jblazi at hotmail.com
Thu Oct 2 15:49:43 EDT 2003


On Thu, 02 Oct 2003 19:32:33 +0000, Dennis Lee Bieber wrote:

>         Well, discovering the IP of one's own net connection is still not 
> going to be that useful from inside the code -- you still have to have 
> some means to give that IP to whoever will be on the other end of the 
> connection, and you won't have their IP unless they've first given it 
> to you.
> 
>         Are these dial-ups, or a classroom LAN? If the latter, you might have 
> one machine with a fixed IP (probably the DHCP server machine), and can 
> install a simple server that merely echoes back the IP of the 
> connecting client.
> 
>         If the students are having to sneaker-net their IPs between each 
> other, and if they have access/privileges to run ipconfig, that should 
> give the information needed.

Yes, thx. The pupils will be sitting at home and will dial up each other
to communicate their own ip number. But it would be nice if the started
the mastermind program and the program would say: "Hullo, your ip number
is ..., please communicate this to your mate." Of course they can use
ipconfig for finding out their data. But it would be more elegant if they
were told by their program.

JB


----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---




More information about the Python-list mailing list