Searched refs:SOCK_ID_CLIENT (Results 1 – 1 of 1) sorted by relevance
37 #define SOCK_ID_CLIENT 2 macro53 (void)zsock_close(sh_telnet->fds[SOCK_ID_CLIENT].fd); in telnet_end_client_connection()55 sh_telnet->fds[SOCK_ID_CLIENT].fd = -1; in telnet_end_client_connection()70 if (sh_telnet->fds[SOCK_ID_CLIENT].fd < 0) { in telnet_command_send_reply()77 ret = zsock_send(sh_telnet->fds[SOCK_ID_CLIENT].fd, msg, len, 0); in telnet_command_send_reply()194 if (sh_telnet->fds[SOCK_ID_CLIENT].fd < 0) { in telnet_send()199 ret = zsock_send(sh_telnet->fds[SOCK_ID_CLIENT].fd, msg, len, in telnet_send()399 if (sh_telnet->fds[SOCK_ID_CLIENT].fd >= 0) { in telnet_restart_server()400 (void)zsock_close(sh_telnet->fds[SOCK_ID_CLIENT].fd); in telnet_restart_server()401 sh_telnet->fds[SOCK_ID_CLIENT].fd = -1; in telnet_restart_server()[all …]