BSD Sockets

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
BSD Sockets

The Berkeley API socket configuration option will require Berkeley sockets. Each one of these internally uses one TCP or UDP socket, defined by the TCPSocketInitializer[] array and the MAX_UDP_SOCKETS definition. Because of this, the number of Berkeley sockets you declare must be less than or equal to the sum of the number of UDP sockets you declare and the number of TCP Berkeley-type sockets you declare. The TCPIPConfig.h macro to define the number of Berkeley sockets is:

#define BSD_SOCKET_COUNT    (5u)
Microchip TCP/IP Stack 5.42.08 - June 15, 2013
Copyright © 2012 Microchip Technology, Inc.  All rights reserved.