...
Code Block | ||||
---|---|---|---|---|
| ||||
CPU_BOOLEAN AppTELNETs_Init (void) { CPU_BOOLEAN success; NET_SOCK_ADDR_FAMILY ip_family; ip_family = NET_SOCK_ADDR_FAMILY_IP_V4; (1) printf("Initialize telnet server...\n\r"); success = TELNETs_Init(ip_family, DEF_NULL); (2) if (success == DEF_OK) { printf("TELNET server successfully initialized\n\r"); } else { printf("TELNET server initialization failed\n\r"); } return (success) } |
Panel | ||
---|---|---|
| ||
|