1 Reply Latest reply on Jul 27, 2016 7:41 AM by RoDe_1773541

    using sys/socket.h on wiced sdk

      Hi, I'm using wiced sdk to program my BCM943362WCD4 board and I'm trying to use some library which including the <sys/socket.h> but got an error said "No such file or directory". Any suggestion on how to fix this error? I can't find where is this file or where can I download it.

        • 1. Re: using sys/socket.h on wiced sdk
          RoDe_1773541

          Hi, sys/socket.h is part of the POSIX specification, which is generally part of a larger operating system such as Linux.  If you want to open a socket, you'll want to use the WICED interfaces such as wiced_tcp_create_socket.  You can find them documented in the wiced-sdk/doc/API.html file.  There's also an example in wiced-sdk/apps/snip/tcp_client.

           

          -Rob

          1 of 1 people found this helpful