Showing results for 
Search instead for 
Did you mean: 

WICED Studio Wi-Fi Combo

Not applicable

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 Reply

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.