From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gary Guangyu Pei To: Gary Thomas Cc: ecos-discuss@sources.redhat.com Subject: RE: [ECOS] problem with TCP/IP stack Date: Fri, 26 Jan 2001 16:39:00 -0000 Message-id: References: X-SW-Source: 2001-01/msg00440.html Yes, you are right. I modified one of the test program: udp_lo_test.c program. Instead of using a loopback address, I use the real IP address. Thank you, Gary On Fri, 26 Jan 2001, Gary Thomas wrote: |Are you trying to run one of our test/demo programs? If not, I'm not |sure I understand your "UDP server" terminology. | |On 26-Jan-2001 Gary Guangyu Pei wrote: |> Hi, |> I encountered the following problem with TCP/IP stack: |> It cannot run both UDP server and client together. If I run server only, |> it can receive UDP packets from the other nodes. However, if I run both |> client and server, the client can keep on sending out packets, the server |> will stop receiving packets after it receives the first packet (or |> sometime the first 2 packets) from a client. I use the gdb to trace the |> program. I find the received packages travelling along the protocol stack |> all way up to udp_usrreq.c. After calling the sorwakeup() at line 565, the |> server thread never gets to run. |> |> Does anyone know what might go wrong? Do you have similar experience? |> |> The network priority is 7. I tried both 6,7,8 priority for the udp server. |> |> Thank you very much, any suggestion is highly appreciated. |> |> Gary |> |