From owner-freebsd-questions@freebsd.org Wed Oct 2 02:12:59 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 06AE0FE6DA for ; Wed, 2 Oct 2019 02:12:59 +0000 (UTC) (envelope-from woodbrian77@gmail.com) Received: from mail-io1-xd2f.google.com (mail-io1-xd2f.google.com [IPv6:2607:f8b0:4864:20::d2f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46jfmn4tssz4ftB for ; Wed, 2 Oct 2019 02:12:57 +0000 (UTC) (envelope-from woodbrian77@gmail.com) Received: by mail-io1-xd2f.google.com with SMTP id q10so53387809iop.2 for ; Tue, 01 Oct 2019 19:12:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=QbJDNJAcK9N5LHXTkkNOYKaQZCzSvNgbClxcvubmfMs=; b=jDQVAmhecCntabs5JKpIxle1CKx72Hlp0sdqQehtYVr+cV50G+Gp72M8PPfWPUNbez u88O1FAHEYcCeVqeHpB2NZ00wTwMUgQKJaILNkDdCjRciHJK8qL52PaCQhfKXuBZ5Y1B EWs0wsLjIzKnYrLZaoLvDfwchPliy1GKf7q2tVA3datieausdlRrxf+28OjiiNDhXQY8 UE7jJVzjntOD7nRpY+mCruEEzkb22lcnSvKt7NhreYN0FB/BDW0qL6GRXN4qjldlYdBP enbOTrGKf0oQj5McsCttkAUc81Hi4MXOwyP+jPcajId92FuF2DwUZci9dCW/HNKKevMd M7zw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=QbJDNJAcK9N5LHXTkkNOYKaQZCzSvNgbClxcvubmfMs=; b=Dl6sGZ7DYUXDoT0+5B2RfGSN1HhuoCxRYPwQ27uzWXW9PLbmSTVnpCthY0I06LIxxW d6fMKDPOQ8dUjPiLK+4d4adEiQRwquXdhmZzRTWWpMv8ho33uxpJTcjDsgaGzDoD2/XL 0wIz0NuH6Kk3knikApRCWeMedpjagePJxbYY+mqc9e4OgcsZwxh+cvs1+iQyITcxXHg3 2v8eCKqIFJb1C1hCr8V/WPFa4qUGW42mUysqu+7J84cIJGWio34hAuNREuB/Lho3dwn6 jMBHH2zw5njueUxSX2wFEa8CQspPsCFAWswkgnBzX3753t+zriVH5iHftke9Y3bbvG5z oTAg== X-Gm-Message-State: APjAAAUO3QJj+TK3oyETdp5yj4iSY13gAHPyHltWvLEZZt4pb12YxZYD 59S2m2qXpWIO2CAs+3FOsf2nEYfK1qMT3hOP8SOMlTyicU0= X-Google-Smtp-Source: APXvYqxIIykdW8yx2UQdDyt1QScX+CHEjt8SqV7I0drVj5D03dUomIKUUDEYclOnsVs34k46VNcxyI9MhpSHjnBIDyM= X-Received: by 2002:a92:15c4:: with SMTP id 65mr1431328ilv.173.1569982376219; Tue, 01 Oct 2019 19:12:56 -0700 (PDT) MIME-Version: 1.0 From: Brian Wood Date: Tue, 1 Oct 2019 21:12:47 -0500 Message-ID: Subject: Sctp and getaddrinfo To: FreeBSD Questions X-Rspamd-Queue-Id: 46jfmn4tssz4ftB X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=jDQVAmhe; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of woodbrian77@gmail.com designates 2607:f8b0:4864:20::d2f as permitted sender) smtp.mailfrom=woodbrian77@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE_FREEMAIL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(0.00)[ip: (-6.33), ipnet: 2607:f8b0::/32(-2.58), asn: 15169(-2.16), country: US(-0.05)]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[f.2.d.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Oct 2019 02:12:59 -0000 Hi. I've been trying to use sctp and gettaddrinfo (SOCK_STREAM and IPPROTO_SCTP) but have had some problems. My server starts with those, but the client gets a "non-recoverable failure in name resolution," when connecting. I notice this example isn't using getaddrinfo: https://www.ibm.com/developerworks/library/l-sctp/index.html Do you ever use sctp and getaddrinfo? I'm using Trident/ FreeBSD 12.0 on amd64. Thanks in advance. Brian Ebenezer Enterprises - Enjoying programming again. https://github.com/Ebenezer-group/onwards