hostp             571 src/dps8/udplib.c char *hostp, *portp;
hostp             583 src/dps8/udplib.c hostp = gbuf;                                           /* default addr */
hostp             593 src/dps8/udplib.c     hostp = (char *)default_host;                       /* host is defaulted if provided */
hostp             613 src/dps8/udplib.c if (hostp != NULL) {
hostp             614 src/dps8/udplib.c     if (']' == hostp[strlen(hostp)-1]) {
hostp             615 src/dps8/udplib.c         if ('[' != hostp[0])
hostp             618 src/dps8/udplib.c         strncpy(gbuf, hostp+1, sizeof(gbuf)-1);         /* remove brackets from domain literal host */
hostp             619 src/dps8/udplib.c         hostp = gbuf;
hostp             620 src/dps8/udplib.c         hostp[strlen(hostp)-1] = '\0';
hostp             624 src/dps8/udplib.c     if (hostp != NULL) {
hostp             625 src/dps8/udplib.c         if (strlen(hostp) >= host_len)
hostp             628 src/dps8/udplib.c             strcpy (host, hostp);
hostp             634 src/dps8/udplib.c     if (hostp == NULL)
hostp             636 src/dps8/udplib.c     if (getaddrinfo(hostp, NULL, NULL, &ai_host))
hostp             653 src/dps8/udplib.c         if (((0 == strcmp("127.0.0.1", hostp)) &&
hostp             656 src/dps8/udplib.c              (0 == strcmp("::1", hostp))))
hostp             499 src/simh/sim_sock.c const char *hostp;
hostp             524 src/simh/sim_sock.c hostp = gbuf;                                           /* default addr */
hostp             535 src/simh/sim_sock.c     hostp = (const char *)default_host;                 /* host is defaulted if provided */
hostp             555 src/simh/sim_sock.c if (hostp != NULL) {
hostp             556 src/simh/sim_sock.c     if (']' == hostp[strlen(hostp)-1]) {
hostp             557 src/simh/sim_sock.c         if ('[' != hostp[0])
hostp             560 src/simh/sim_sock.c         strncpy(gbuf, hostp+1, sizeof(gbuf)-1);         /* remove brackets from domain literal host */
hostp             562 src/simh/sim_sock.c         hostp = gbuf;
hostp             566 src/simh/sim_sock.c     if (hostp != NULL) {
hostp             567 src/simh/sim_sock.c         if (strlen(hostp) >= host_len)
hostp             570 src/simh/sim_sock.c             if (('\0' != hostp[0]) || (default_host == NULL))
hostp             571 src/simh/sim_sock.c                 strcpy (host, hostp);
hostp             591 src/simh/sim_sock.c     if (hostp == NULL)
hostp             593 src/simh/sim_sock.c     if (p_getaddrinfo(hostp, NULL, NULL, &ai_host))
hostp             612 src/simh/sim_sock.c         if (((0 == strcmp("127.0.0.1", hostp)) &&
hostp             615 src/simh/sim_sock.c              (0 == strcmp("::1", hostp))))
hostp             664 src/simh/sim_sock.c const char *hostp;
hostp             668 src/simh/sim_sock.c hostp = strchr (cptr, ':');
hostp             669 src/simh/sim_sock.c if ((hostp != NULL) && ((hostp[1] == '[') || (NULL != strchr (hostp+1, ':')))) {
hostp             672 src/simh/sim_sock.c         if (localport_len > (size_t)(hostp-cptr))
hostp             673 src/simh/sim_sock.c             localport_len = (size_t)(hostp-cptr);
hostp             676 src/simh/sim_sock.c     return sim_parse_addr (hostp+1, host, hostlen, default_host, port, port_len, default_port, NULL);