Sctp and getaddrinfo
emorrasg at yahoo.es
Wed Oct 2 08:31:28 UTC 2019
On Tue, 1 Oct 2019 21:12:47 -0500
Brian Wood <woodbrian77 at 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:
> 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?
> Ebenezer Enterprises - Enjoying programming again.
> freebsd-questions at freebsd.org mailing list
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"
Eduardo Morras <emorrasg at yahoo.es>
More information about the freebsd-questions