Date: Wed, 2 Oct 2019 10:42:18 +0200 From: Eduardo Morras <emorrasg@yahoo.es> To: freebsd-questions@freebsd.org Subject: Re: Sctp and getaddrinfo Message-ID: <20191002104218.b5371941ed32b5ce87817a2f@yahoo.es> In-Reply-To: <CABWFOju1HN0UDNgf8BSUcoKUEuvmOODzLO7iMGtBbvp%2BV8st5w@mail.gmail.com> References: <CABWFOju1HN0UDNgf8BSUcoKUEuvmOODzLO7iMGtBbvp%2BV8st5w@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 1 Oct 2019 21:12:47 -0500 Brian Wood <woodbrian77@gmail.com> wrote: > 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. Yes, I use it. Some questions: a) Can you post your getaddreinfo call? b) Do you use hint? Set it to null. c) Are you using more than one network interface? getaddrinfo (afaik) don't support it. After using getaddrinfo you can add more interfaces to the association d) Does your dns work? Are client and server in the same machine? > Brian > Ebenezer Enterprises - Enjoying programming again. > https://github.com/Ebenezer-group/onwards > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" --- --- Eduardo Morras <emorrasg@yahoo.es>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20191002104218.b5371941ed32b5ce87817a2f>