Network Communication

BSD Socket Communication

The VxWorks Network Socket Interface includes BSD sockets (AKA "Berkeley Sockets"). This means that, provided that the VxWorks Image includes network components, C + Applications can simply include the correct header files and then use the regular socket API calls. (connect(), bind(), accept(), etc.).

Information on use of the Wind River network stack can be found in the "Wind River Network Stack for VxWorks 6 Programmer's Guide", especially in Section 13. This section also has a sample program that shows the header files to include (as a minimum, sockLib.h and inetLib.h)

A regular internet search will provide a lot of sources for information on the use of Berkeley sockets. One of the best is Beej's Guide to Network Programming using Internet Sockets.