This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DNSGetHostByName() Looking for ideas on a home network

Hi Ti Community:

This is not a TI issue; but, more of a ..., I'm not seeing a good approach to this.

I have a small home network with an el-cheapo router.  Everything is peer-to-peer.

I was hoping to use DNSGetHostByName() to send UDP packets to some"HostName" in-house, until I realized that I needed a DNS to do so.  Nix that approach.

IE. DNSGetHostByName("www.ti.com") works fine; but, DNSGetHostByName("GameWorkstation") does not.

Is there an easy way to discover the IP of an in-house server/workstation using the "HostName" of that workstation?

Any thoughts would be appreciated.

Thanks

Rick

  • Hello Rick

    Well a DNS server is required in this case. Or you may want the TM4C to host a web page as a web server and require devices to communicate to the IP address.

    Regards
    Amit
  • There are Windows specific protocols that provide similar functionality. That could be more work than providing local DNS. SBS comes to mind and Microsoft had a home server that might do the job.

    However maybe you should look at dynamic DNS

    Robert

    No warranty offered here only wild suggestions