Anonymous
Not applicable
Jul 27, 2016
02:05 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 27, 2016
02:05 AM
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
Jul 27, 2016
07:41 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 27, 2016
07:41 AM
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