Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Can i use Dns.GetHostEntry("www.test.com") in WP8?

Discussion in 'Windows' started by wiyi, Sep 14, 2013.

  1. wiyi

    wiyi

    Joined:
    Feb 20, 2013
    Posts:
    17
    How do i get the server form the host(like:www.test.com)?

    IPEndPoint ipe = new IPEndPoint(Dns.GetHostEntry("www.myhost.com",8767)); // this code can't work in wp8!!!

    what i should do ?
     
  2. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,527