From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f53.google.com (mail-wg0-f53.google.com [74.125.82.53]) by dpdk.org (Postfix) with ESMTP id 3F70F7F11 for ; Sat, 15 Nov 2014 16:26:26 +0100 (CET) Received: by mail-wg0-f53.google.com with SMTP id b13so21501806wgh.26 for ; Sat, 15 Nov 2014 07:36:34 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=XJ4VgXiYrVpwJVXi/Q8AGv5QmWzANxX32981IrpP5AU=; b=QNpn/v1Xeo6jPN7BtkK6USnKtb/YhhDtie3O+0bo95VdociBnMvjVbFL/pnsFt0Emw L9qCQ3BlQ8ZdUOsHxKKAPPppCPrCpm9y37ocN1OllkgN4A6B6lvKPW7Qpqz+zM2bDhuw idBBzXYUz8Pg8PRElzMXMsY6dkzhGe4aQEwhu3hKLWLp+IYdKv4T/NK891Ge41Sr0p3m a1LUkL73J8QMOtsuc/5XJyj1RAapjgkcaIUKd4nNwkb6AxCVJjYWzMw6c8wh/uAVFfwY DytV6wNtcchuZg/VnnuTGy/iu9K6ONiogvoZaIlpEWC8G83xeXyeOgEMe+5runkwoqsA tF0Q== X-Gm-Message-State: ALoCoQmizhYcl/le/jtNSRs7UUcp/I1JLjYIEsy0BORp00ifaTLHxnepYih5LsinFzHIr5lczcZ/ MIME-Version: 1.0 X-Received: by 10.180.91.109 with SMTP id cd13mr16801792wib.46.1416065794225; Sat, 15 Nov 2014 07:36:34 -0800 (PST) Received: by 10.27.13.212 with HTTP; Sat, 15 Nov 2014 07:36:34 -0800 (PST) Received: by 10.27.13.212 with HTTP; Sat, 15 Nov 2014 07:36:34 -0800 (PST) In-Reply-To: <20141115132832.GC17037@localhost.localdomain> References: <20141115132832.GC17037@localhost.localdomain> Date: Sat, 15 Nov 2014 12:36:34 -0300 Message-ID: From: Ariel Rodriguez To: Neil Horman , dev@dpdk.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] socket programming with DPDK? X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Nov 2014 15:26:26 -0000 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 files. Maybe this can help you. Regards. On Nov 15, 2014 10:28 AM, "Neil Horman" 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 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 > Neil > >