<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>MQX Software SolutionsのトピックRe: Applications using a DHCP configured interface</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/Applications-using-a-DHCP-configured-interface/m-p/146063#M77</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;FYI I ended up polling the link state with&lt;/P&gt;&lt;PRE&gt;ipcfg_get_link_active(IPCFG_default_enet_device)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and when the link went away, I would unbind the old IP and reenable DHCP to get the new IP&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Oct 2020 08:47:27 GMT</pubDate>
    <dc:creator>w2vy</dc:creator>
    <dc:date>2020-10-29T08:47:27Z</dc:date>
    <item>
      <title>Applications using a DHCP configured interface</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Applications-using-a-DHCP-configured-interface/m-p/146062#M76</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I have server applications running that are listening&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;// Start Server srvr = socket(PF_INET, SOCK_STREAM, 0); /* Bind the socket to the port */ any.sin_family      = AF_INET; any.sin_port        = 80; any.sin_addr.s_addr = INADDR_ANY; bind(srvr, &amp;amp;any, sizeof(any)); listen(srvr, 0);&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Will this server continue to run properly if the interface is moved from one LAN to another and the IP address assigned by DHCP changes?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is the right way to re-activate DHCP when the cable is re-interted?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2020 08:47:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Applications-using-a-DHCP-configured-interface/m-p/146062#M76</guid>
      <dc:creator>w2vy</dc:creator>
      <dc:date>2020-10-29T08:47:25Z</dc:date>
    </item>
    <item>
      <title>Re: Applications using a DHCP configured interface</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Applications-using-a-DHCP-configured-interface/m-p/146063#M77</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;FYI I ended up polling the link state with&lt;/P&gt;&lt;PRE&gt;ipcfg_get_link_active(IPCFG_default_enet_device)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and when the link went away, I would unbind the old IP and reenable DHCP to get the new IP&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2020 08:47:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Applications-using-a-DHCP-configured-interface/m-p/146063#M77</guid>
      <dc:creator>w2vy</dc:creator>
      <dc:date>2020-10-29T08:47:27Z</dc:date>
    </item>
  </channel>
</rss>

