Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Oct 2019 00:01:30 -0500
From:      Brian Wood <woodbrian77@gmail.com>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Sctp and getaddrinfo
Message-ID:  <CABWFOjusV2sejiQDP-HUCz8k_okJwodRsdphiayGp8koSqpYMw@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Eduardo Morras writes:

> Yes, I use it. Some questions:
>
> a) Can you post your getaddreinfo call?
>
> b) Do you use hint? Set it to null.
>
I have this:

::addrinfo hints{0, AF_UNSPEC, SOCK_STREAM
                         , IPPROTO_SCTP,0,0,0,0};

> 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?

They are on the same network.


Brian
Ebenezer Enterprises
https://github.com/Ebenezer-group/onwards



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CABWFOjusV2sejiQDP-HUCz8k_okJwodRsdphiayGp8koSqpYMw>