Date
1 - 4 of 4
zepyr application to write on to UDP socket
Giribabu Gogineni <giribabu02061983@...>
Hi Dev group,
In my application i want write UDP socket and send to linux host using QEMU. Is it possible to write an application to write payload on to UDP socket? That UDP socket is possible to send using QEMU to linux host? Could you please help me, if sample application are available, please provide the path. Thanks & Regards, Giribabu
|
|
Jukka Rissanen
Hi Giribabu,
On Thu, 2016-09-01 at 17:15 +0530, Giribabu Gogineni wrote: Hi Dev group,You can look how the echo-client and echo-server sample app do things. Those apps can be found at samples/net/echo_client samples/net/echo_server For instructions how to setup the SLIP from Qemu see the samples/net/README file. Various tools for SLIP can be found in net- tools project. git clone https://gerrit.zephyrproject.org/r/p/net-tools.git and check the README.legacy file in that directory. Cheers, Jukka
|
|
Giribabu Gogineni <giribabu02061983@...>
Hi Jukka,
Thanks for the feedback. When we use echo client running on QEMU using SLIP and we have server application running on linux host, we receive the extra headers along with data. Our requirement is pass the UDP data from zephyr app using QEMU and receive the same exact UDP packet on linux host side. Please let us know, if we have any solution for this. Thanks in advance ... Regards, Giribabu On Thu, Sep 1, 2016 at 7:21 PM, Jukka Rissanen < jukka.rissanen(a)linux.intel.com> wrote: Hi Giribabu,
|
|
Jukka Rissanen
Hi Giribabu,
toggle quoted messageShow quoted text
do you mean IP header when you say "extra headers"? If yes, then transferring raw UDP data without IP header is not possible with current SLIP driver. You need to write your own driver that would just transfer the data without any extra headers. Cheers, Jukka
On Tue, 2016-09-20 at 16:02 +0530, Giribabu Gogineni wrote:
Hi Jukka,
|
|