home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / mac / programm / 19916 < prev    next >
Encoding:
Text File  |  1992-12-16  |  1.7 KB  |  47 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!dtint!tom
  3. From: tom@dtint.uucp (Thomas R. Kimpton)
  4. Subject: Re: MacTCP Programming idea/request
  5. Message-ID: <1992Dec16.182627.16486@dtint.uucp>
  6. Organization: Digital Technology, International
  7. References: <1992Dec11.083919.1344@galaxy.gov.bc.ca> <peter-151292115938@rocky.curtin.edu.au>
  8. Date: Wed, 16 Dec 92 18:26:27 GMT
  9. Lines: 36
  10.  
  11. In article <peter-151292115938@rocky.curtin.edu.au> peter@ncrpda.curtin.edu.au (Peter N Lewis) writes:
  12. [deleted]
  13. >Which shows pretty simply the IP of the various machines on the net that
  14. >have an IPADDRESS.
  15. >
  16. >Note that MacTCP doesn't register the IP number until its actually needed,
  17. >so you won't find IPADDRESS registrations for Macs that haven't used an TCP
  18. >services since their last restart.
  19. >
  20. >There are no doubt lots of Mac NBP utilities that will give this list as
  21. >well.
  22. >
  23. >BTW, none of this requires any MacTCP programming.  In fact, it would be
  24. >impossible to use any TCP programming to find out this information, this is
  25. >one of the advantages that AppleTalk has over TCP.
  26. >
  27. >Have fun all,
  28. >   Peter.
  29. >
  30. >_______________________________________________________________________
  31. >Peter N Lewis <peter@ncrpda.curtin.edu.au>           Ph: +61 9 368 2055
  32.  
  33.  
  34. You can find the IP addresses that have been registered by sending
  35. ICMP_ECHO request (ping) packets to the broadcast address for your
  36. net.  I didn't know about MacTCP not registering it's IP address
  37. until it was used.  This explains why I wasn't getting everyone's
  38. IP address back when I pinged broadcast, though they were all up
  39. and connected to the net.
  40.  
  41.  
  42. -- 
  43. ---
  44. Tom Kimpton                            tom@dtint.dtint.com
  45. Digital Technology Int.                (801)226-2984    
  46. 500 W. 1200 South, Orem UT, 84057      FAX (801) 226-8438
  47.