X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:content-type :content-transfer-encoding:date:from:to:subject:in-reply-to :references:message-id; q=dns; s=default; b=hzDOet6F0LkqmMQHpSgD b2aCNfGOWrNn7N6MiNONJPbGIPPjs7yX8E/AN77lsRSnO4lX4sAfpnCWC1uWRteQ aiDbaqWSA9trP7r2mYVkX+cWbXmiqhkuPgplGQhriq+9DsbNGPEthpc8x5GN7d9F O444YmADC3nF7jD9siSgr2g= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:content-type :content-transfer-encoding:date:from:to:subject:in-reply-to :references:message-id; s=default; bh=+armf81GKmU/2YMphVRfqA7GLx s=; b=IEi/ONUsFWpc1jxlW4PS+YLSldnJMTYObYnmFjKNy8oCIyRR7N+/lIpuq3 27+E22bVW+9YrBemrbJPo4N7Hj13wnVhGmtnOs7uIjKPGNKJak2E4J+FpCIM9rc1 kD5zfwYxpwO/a0JJshzRw9TGZ4dtHZKI1Ul3M5kaaSmQO8Qr0= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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 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==; MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Thu, 05 Sep 2019 08:49:03 +0200 From: Lukasz Swierczewski To: cygwin AT cygwin DOT com Subject: Re: netinet/* in Cygwin In-Reply-To: <4c91c547-1f85-c24d-3404-bbd3d947cb63@SystematicSw.ab.ca> References: <61fcbddd17cbfe370eb3ae95489d17e8 AT ithena DOT net> <4c91c547-1f85-c24d-3404-bbd3d947cb63 AT SystematicSw DOT ab DOT ca> Message-ID: <6cbe355551e6c6bdc6a55645b693fbcf@ithena.net> X-Sender: lswierczewski AT ithena DOT net User-Agent: Roundcube Webmail/1.3.10 X-Authenticated-Id: lswierczewski AT ithena DOT net X-IsSubscribed: yes 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