Forums - problem about struct sockaddr

2 posts / 0 new
Last post
problem about struct sockaddr
gavin0
Join Date: 20 Nov 14
Posts: 4
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]?

  • Up0
  • Down0
c_rayl
Join Date: 14 Jan 16
Posts: 19
Posted: Fri, 2017-09-29 01:54

Dear Customer,

   char     sa_data[32];      /* big enough for unpacked sockaddr_in6 */

Regards,

Ray

  • Up0
  • Down0
or Register

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.