From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 111956 invoked by alias); 5 Sep 2019 06:49:10 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 111923 invoked by uid 89); 5 Sep 2019 06:49:07 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-5.4 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_2,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.1 spammy=H*r:esmtpa, Best, H*RU:esmtpa, HX-Spam-Relays-External:esmtpa X-HELO: h2.hitme.pl Received: from h2.hitme.pl (HELO h2.hitme.pl) (188.116.18.22) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 05 Sep 2019 06:49:06 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ithena.net; s=x; h=Message-ID:References:In-Reply-To:Subject:To:From:Date: Content-Transfer-Encoding:Content-Type:MIME-Version:Sender:Reply-To:Cc: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=sdeFhTsy06Jyey7YdzQB85k3V1h+fk8oby0UQCSPT4o=; b=y1HDhTfC0YYNTGve8AqR0+NmZn li9fegg4sIQTuGdNwGPdyndWVEHxcnw1T50OnuYjh9I6cmhA4P5UfKLJ7NvEHmMRHpU2i+Ezd/B9H 2NsvUHNkDDd7VsnxYIAZaQMcscj2tUfAxY8MRKwr4+I0hlZFQ965SVU9xG1Vr3csZssP3mO2tmB11 xnvFfpZHhiRWpPr+n8acaQgeRuWWB4kanqybMJKctkD8spi+eHxo2Bexpu3BRt5oikb44kEo6DanS U1D5Z0HtVugxexWk2MdRCWpHtGSWOdBaopaH/CeFJcCGkXP+TzhTqxdZwyzXe9+b7u+XOTbU/3bdU 4fHYr7jw==; Received: from localhost ([127.0.0.1] helo=h2.hitme.pl) by h2.hitme.pl with esmtpa (Exim 4.91) (envelope-from ) id 1i5lZn-00DgEB-7b for cygwin@cygwin.com; Thu, 05 Sep 2019 08:49:03 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Thu, 05 Sep 2019 06:49:00 -0000 From: Lukasz Swierczewski To: cygwin@cygwin.com Subject: Re: netinet/* in Cygwin In-Reply-To: <4c91c547-1f85-c24d-3404-bbd3d947cb63@SystematicSw.ab.ca> References: <61fcbddd17cbfe370eb3ae95489d17e8@ithena.net> <4c91c547-1f85-c24d-3404-bbd3d947cb63@SystematicSw.ab.ca> Message-ID: <6cbe355551e6c6bdc6a55645b693fbcf@ithena.net> X-Sender: lswierczewski@ithena.net User-Agent: Roundcube Webmail/1.3.10 X-Authenticated-Id: lswierczewski@ithena.net X-IsSubscribed: yes X-SW-Source: 2019-09/txt/msg00036.txt.bz2 Thanks! It looks like it works ... You can tell where I can find: #include #include Any idea? ;) --- Best Regards Lukasz Swierczewski W dniu 2019-09-04 18:34, Brian Inglis napisał(a): > On 2019-09-04 00:36, Lukasz Swierczewski wrote: >> I have question. >> I need netinet/* in my C project. >> For example: >> #include >> #include >> #include >> #include >> Is this available in Cygwin? > > $ cygcheck -p usr/include/netinet/ > Found 6 matches for usr/include/netinet/ > cygwin-devel-3.0.6-1 - cygwin-devel: Core development files > cygwin-devel-3.0.7-1 - cygwin-devel: Core development files > cygwin-devel-3.1.0-0.3 - cygwin-devel: Core development files > cygwin32-2.10.0-1 - cygwin32: Cygwin 32bit toolchain > cygwin32-2.6.0-1 - cygwin32: Cygwin 32bit toolchain (installed binaries > and > support files) > cygwin32-2.8.2-1 - cygwin32: Cygwin 32bit toolchain > > $ zfgrep netinet /etc/setup/cygwin-devel.lst.gz > usr/include/netinet/ > usr/include/netinet/in.h > usr/include/netinet/in_systm.h > usr/include/netinet/ip.h > usr/include/netinet/ip6.h > usr/include/netinet/ip_icmp.h > usr/include/netinet/tcp.h > usr/include/netinet/udp.h > > Install cygwin-devel package. > >> There are problems as standard ... >> What do you need to do to compile with these libs? > > In many cases, nothing, as the functions are built into libc in the > cygwin dll; > otherwise for other libraries, add -l... to your build command line as > you would > on Unix. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple