Initialization standard server
The following code listing demonstrate the µC/TELNETs module capabilities in standard mode. That code simply initializes µC/TELNETs in standard mode.
- µC/TELNETs works either IPv4 or IPv6, but not both at the same time. During the initialization, the user must specified the IP family :
NET_SOCK_ADDR_FAMILY_IP_V4
NET_SOCK_ADDR_FAMILY_IP_V6 - Initialization of the µC/TELNETs module with secure mode disabled. When this function returns, the system is ready to accept standard connection requests from clients.