Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 250
  • Last Modified:

arp/rarp APIs?

Could someone please point me in the direction of some API and documentation for using ARP/RARP under win95/NT? Also, How do I use NetBIOS to get a remote (on a windows LAN) machine's ethernet address, given it's hostname?
0
bbutler02
Asked:
bbutler02
  • 3
1 Solution
 
alexoCommented:
For the second part of the question, use the NetBios() function with the NCBASTAT command.  See knowledgebase article Q118623 for an example.

0
 
alexoCommented:
For the first part of your question, you can use the WinSock "database" functions gethostbyname() and gethostbyaddr().  See the help of WinSock.
0
 
alexoCommented:
And the autograder hits again!
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now