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:reply-to:subject:to:references:from:message-id :date:mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=XkisiLQgFWrpPWMH sZN5WUhY4AtRaCXnfvFo6DXoftfFABrgFwZIxjMPMNBGBp62n4dhKZiu/whYWe1T JwzdLEDrt6VkgU3g/2QpbM8UD6mxNxz56vutt34m0y9Pd83vr4K2dV9iZeM316aj M5XwrA50D42u4YlBpYcNqONLNzo= 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:reply-to:subject:to:references:from:message-id :date:mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=4T30M2NMJgN1wxKIvyBEEl l386Y=; b=n5us86xy/SUJuS3mNhpKjgza/ASCJWui9t17qBwFRqQWkuOHhZ8XOa M7iPQdPZFGeezgoh9s1W0kR1DqewtEa7od5kFqAZNCPHRm3xk0PVzq+mC/szsAdC /hGWGfLOY2kNCgK6op9D5jfpgcy0pfpshr/v36+q38CnYtuvoaM38= 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=-2.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy=HX-Languages-Length:1474 X-HELO: smtp-out-no.shaw.ca Reply-To: Brian DOT Inglis AT SystematicSw DOT ab DOT ca Subject: Re: netinet/* in Cygwin To: cygwin AT cygwin DOT com References: <61fcbddd17cbfe370eb3ae95489d17e8 AT ithena DOT net> From: Brian Inglis Openpgp: preference=signencrypt Message-ID: <4c91c547-1f85-c24d-3404-bbd3d947cb63@SystematicSw.ab.ca> Date: Wed, 4 Sep 2019 10:34:23 -0600 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <61fcbddd17cbfe370eb3ae95489d17e8@ithena.net> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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. -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada This email may be disturbing to some readers as it contains too much technical detail. Reader discretion is advised. -- 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