[dpdk-dev] socket programming with DPDK?
arodriguez at callistech.com
Sat Nov 15 16:36:34 CET 2014
Hi , im succesfully integrate boost asio c++ code with dpdk libraries. I do
packet processing with dpdk collecting statistics of protocol usage and
then use a extern function to send the statistics (custom struct) through a
boost socket in c++ code. Boost libraries use netinet/in.h internally .
Maybe the workaround is separete the compiling units and not mix the header
Maybe this can help you.
On Nov 15, 2014 10:28 AM, "Neil Horman" <nhorman at tuxdriver.com> wrote:
> On Sat, Nov 15, 2014 at 04:08:47PM +0900, Choonho Son wrote:
> > Hi,
> > I am making netflow collector with DPDK.
> > I need to export result to another server with socket programming.
> > But I can not include <netinet/in.h> which defines struct sockaddr_in.
> > How can I make application with traditional socket programming and DPDK?
> > Thanks.
> > Choonho Son
> Why can't you add netinet/in.h? Are you getting an error when doing so? I
> vaguely recall someone posting a fix for an include error for that file,
> but I
> don't recall its disposition
More information about the dev