SCTP sendmsgx

Doug Hardie bc979 at lafn.org
Mon Mar 9 07:48:55 UTC 2020


I am trying to get sctp_sendmsgx to work and not having a lot of success.  I have not been able to find any examples on the web of using it.  I have a client using sctp_sendmsg working fine.  I need to make use of the multihoming feature which requires sctp_sendmsgx.    I changed the call to sctp_sendmsgx, and changed the address count to 2.  However, all I get is an EINVAL response.  Looking through the code there are at least 2 different possible causes, but I can't distinguish between them. I do have two address structures in the address field.  Are there any examples of how to build a client with sctp_sendmsgx?

-- Doug



More information about the freebsd-net mailing list