Home
last modified time | relevance | path

Searched refs:port_str (Results 1 – 5 of 5) sorted by relevance

/net-tools-3.5.0/tinydtls-0.8.2/tests/
Ddtls-client.c345 char port_str[NI_MAXSERV] = "0"; local
353 snprintf(port_str, sizeof(port_str), "%d", port);
385 strncpy(port_str, optarg, NI_MAXSERV-1);
386 port_str[NI_MAXSERV - 1] = '\0';
427 dst.addr.sin.sin_port = htons(atoi(optind < argc ? argv[optind++] : port_str));
/net-tools-3.5.0/libcoap/examples/
Dcoap-server.c455 char port_str[NI_MAXSERV] = "5683"; in main() local
471 strncpy(port_str, optarg, NI_MAXSERV-1); in main()
472 port_str[NI_MAXSERV - 1] = '\0'; in main()
485 ctx = get_context(addr_str, port_str); in main()
Detsi_iot_01.c681 char port_str[NI_MAXSERV] = "5683"; in main() local
692 strncpy(port_str, optarg, NI_MAXSERV-1); in main()
693 port_str[NI_MAXSERV - 1] = '\0'; in main()
706 ctx = get_context(addr_str, port_str); in main()
Dcoap-rd.c682 char port_str[NI_MAXSERV] = "5683"; in main() local
697 strncpy(port_str, optarg, NI_MAXSERV-1); in main()
698 port_str[NI_MAXSERV - 1] = '\0'; in main()
711 ctx = get_context(addr_str, port_str); in main()
Dclient.c1037 char port_str[NI_MAXSERV] = "0"; in main() local
1064 strncpy(port_str, optarg, NI_MAXSERV-1); in main()
1065 port_str[NI_MAXSERV - 1] = '\0'; in main()
1150 ctx = get_context(node_str[0] == 0 ? "0.0.0.0" : node_str, port_str); in main()
1156 ctx = get_context(node_str[0] == 0 ? "::" : node_str, port_str); in main()