Sctp and getaddrinfo

Brian Wood woodbrian77 at
Thu Oct 3 05:01:42 UTC 2019

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.

Ebenezer Enterprises

More information about the freebsd-questions mailing list