<?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>topic Re: Lwip webserver and tcp client at same time is posibble ? in MCUXpresso General</title>
    <link>https://community.nxp.com/t5/MCUXpresso-General/Lwip-webserver-and-tcp-client-at-same-time-is-posibble/m-p/987990#M2789</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would suggest you start with the demo lwip_httpsrv. Then add your tcp echo client code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer to lwip_httpsrv_freertos.c&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*!&lt;BR /&gt;&amp;nbsp;* @brief The main function containing server thread.&lt;BR /&gt;&amp;nbsp;*/&lt;BR /&gt;static void main_thread(void *arg)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LWIP_UNUSED_ARG(arg);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; stack_init();&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; http_server_socket_init();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; vTaskDelete(NULL);&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;stack_init initialized the lwip stack;&amp;nbsp;&lt;/P&gt;&lt;P&gt;http_server_socket_init initialized the web server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you can add your echo client function ( for example, tcpecho_client_init) from there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Dec 2019 01:11:49 GMT</pubDate>
    <dc:creator>danielchen</dc:creator>
    <dc:date>2019-12-27T01:11:49Z</dc:date>
    <item>
      <title>Lwip webserver and tcp client at same time is posibble ?</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/Lwip-webserver-and-tcp-client-at-same-time-is-posibble/m-p/987988#M2787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi. I want to use lpcopen webserver app and tcpecho client app on LPC1769 board at the same time namely LPC1769 will act as both server and client.Is it posibble ? How can ı do ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Dec 2019 16:43:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/Lwip-webserver-and-tcp-client-at-same-time-is-posibble/m-p/987988#M2787</guid>
      <dc:creator>ramazan_kurban3</dc:creator>
      <dc:date>2019-12-16T16:43:26Z</dc:date>
    </item>
    <item>
      <title>Re: Lwip webserver and tcp client at same time is posibble ?</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/Lwip-webserver-and-tcp-client-at-same-time-is-posibble/m-p/987989#M2788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" data-content-finding="Community" data-userid="344981" data-username="ramazan.kurban3@gmail.com" href="https://community.nxp.com/people/ramazan.kurban3@gmail.com"&gt;Ramazan&lt;/A&gt;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The device can act as both server and client. Because they running on different sockets.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Dec 2019 00:28:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/Lwip-webserver-and-tcp-client-at-same-time-is-posibble/m-p/987989#M2788</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2019-12-27T00:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: Lwip webserver and tcp client at same time is posibble ?</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/Lwip-webserver-and-tcp-client-at-same-time-is-posibble/m-p/987990#M2789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would suggest you start with the demo lwip_httpsrv. Then add your tcp echo client code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer to lwip_httpsrv_freertos.c&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*!&lt;BR /&gt;&amp;nbsp;* @brief The main function containing server thread.&lt;BR /&gt;&amp;nbsp;*/&lt;BR /&gt;static void main_thread(void *arg)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LWIP_UNUSED_ARG(arg);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; stack_init();&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; http_server_socket_init();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; vTaskDelete(NULL);&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;stack_init initialized the lwip stack;&amp;nbsp;&lt;/P&gt;&lt;P&gt;http_server_socket_init initialized the web server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you can add your echo client function ( for example, tcpecho_client_init) from there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Dec 2019 01:11:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/Lwip-webserver-and-tcp-client-at-same-time-is-posibble/m-p/987990#M2789</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2019-12-27T01:11:49Z</dc:date>
    </item>
  </channel>
</rss>

