Network Component  Version 7.19.0
MDK Middleware for IPv4 and IPv6 Networking
BSD Socket

BSD socket routines enable BSD compliant communication over TCP/IP. More...

Content

 User API
 BSD Socket functions and communication flow.
 
 Configuration
 How to configure BSD sockets in µVision.
 
 Structures
 Structures of the BSD Socket.
 
 Error Codes
 BSD Socket error codes.
 

Description

BSD socket routines enable BSD compliant communication over TCP/IP.

The BSD sockets application programming interface (API) is a set of standard function calls that can be used to add Internet communication to an application.

A client/server architecture is mandatory for BSD sockets. Using TCP, a host listens for incoming connection requests. Upon accepting an incoming request, data can be transferred between the hosts. UDP can also be used to establish a connection.

As you can see, BSD sockets is not a stand-alone socket solution, but it is an API that relies on other socket communication for data exchange. Thus, you always need to add TCP and UDP to your project if you wish to use BSD sockets.

This documentation is separated as follows: