HI, I just test the socket API qcom_connect() in QCA4004. Who know how to fill the struct sockaddr's member sa_data[14]?
problem about struct sockaddr
Posted: Mon, 2014-12-01 22:32
HI, I just test the socket API qcom_connect() in QCA4004. Who know how to fill the struct sockaddr's member sa_data[14]?
Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.
Dear Customer,
char sa_data[32]; /* big enough for unpacked sockaddr_in6 */
Regards,
Ray