Re: [pok-devel] Ocarina/POK Questions (Partitions and Sockets)? |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/pok-devel Archives
]
- To: pok-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [pok-devel] Ocarina/POK Questions (Partitions and Sockets)?
- From: Laurent Lec <lec.laurent@xxxxxxxxx>
- Date: Mon, 19 Mar 2012 08:50:10 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=D5JN9WV6crg4sXd/gcM1EE1gzil66adnAMOTuQXYBZ0=; b=O3KIcp/UuaeSxEWNimyHuQ1TAX6cFse63CTVXyk9Lg7tyjNgCk0vo3O3j8Hw/QLjXD JtwW0Ll1oQWmiUfH07GQVDfCHGDcyV5vkIvUNOFzee19bu3VGLW4tZN5wbvO1ZnS9SsK bx8ijlOp8vdg6ZA6k9EibJHFTWl6YcBwY++xmryt2AEqGh1+/AOY8q4aZeUwVT7vkccM dF+uf/EtukE4+H3ETo2eeoTMng2pAC7Ex4mUse+BEISFU1c2buqGxSA2ziTaLFUgPty1 0vbZse3fHx2T4kUMJqpHKPLYER42EqAXlgip3tQzxBSQZYvHxA6FtJrdJvlH3gY3vgnW xpvA==
On Mon, Mar 19, 2012 at 7:25 AM, Reder, Leonard J (3496)
<Leonard.J.Reder@xxxxxxxxxxxx> wrote:
> Laurent:
>
> Yes UDP support would be good. I am currently looking at the network
> example that came with POK.
> But what I want to do is from the host Linux send data into a running POK
> application and receive data back from that POK application. All that is
> needed are simple point to point connections at this time. Does anyone
> have an example of doing this?
You will have to talk to your POK instance using a raw ethernet frame
from Linux.
This should help you:
http://aschauf.landshut.org/fh/linux/udp_vs_raw/ch01s03.html
Look at the code in the example/driver/kernel for details about the UDP overlay.
And if you have any question, don't hesitate. ;)
--
Laurent Lec