hostp             551 src/dps8/udplib.c char *hostp, *portp;
hostp             563 src/dps8/udplib.c hostp = gbuf;                                           /* default addr */
hostp             573 src/dps8/udplib.c     hostp = (char *)default_host;                       /* host is defaulted if provided */
hostp             593 src/dps8/udplib.c if (hostp != NULL) {
hostp             594 src/dps8/udplib.c     if (']' == hostp[strlen(hostp)-1]) {
hostp             595 src/dps8/udplib.c         if ('[' != hostp[0])
hostp             598 src/dps8/udplib.c         strncpy(gbuf, hostp+1, sizeof(gbuf)-1);         /* remove brackets from domain literal host */
hostp             599 src/dps8/udplib.c         hostp = gbuf;
hostp             600 src/dps8/udplib.c         hostp[strlen(hostp)-1] = '\0';
hostp             604 src/dps8/udplib.c     if (hostp != NULL) {
hostp             605 src/dps8/udplib.c         if (strlen(hostp) >= host_len)
hostp             608 src/dps8/udplib.c             strcpy (host, hostp);
hostp             614 src/dps8/udplib.c     if (hostp == NULL)
hostp             616 src/dps8/udplib.c     if (getaddrinfo(hostp, NULL, NULL, &ai_host))
hostp             633 src/dps8/udplib.c         if (((0 == strcmp("127.0.0.1", hostp)) &&
hostp             636 src/dps8/udplib.c              (0 == strcmp("::1", hostp))))
hostp             491 src/simh/sim_sock.c const char *hostp;
hostp             516 src/simh/sim_sock.c hostp = gbuf;                                           /* default addr */
hostp             527 src/simh/sim_sock.c     hostp = (const char *)default_host;                 /* host is defaulted if provided */
hostp             547 src/simh/sim_sock.c if (hostp != NULL) {
hostp             548 src/simh/sim_sock.c     if (']' == hostp[strlen(hostp)-1]) {
hostp             549 src/simh/sim_sock.c         if ('[' != hostp[0])
hostp             552 src/simh/sim_sock.c         strncpy(gbuf, hostp+1, sizeof(gbuf)-1);         /* remove brackets from domain literal host */
hostp             554 src/simh/sim_sock.c         hostp = gbuf;
hostp             558 src/simh/sim_sock.c     if (hostp != NULL) {
hostp             559 src/simh/sim_sock.c         if (strlen(hostp) >= host_len)
hostp             562 src/simh/sim_sock.c             if (('\0' != hostp[0]) || (default_host == NULL))
hostp             563 src/simh/sim_sock.c                 strcpy (host, hostp);
hostp             583 src/simh/sim_sock.c     if (hostp == NULL)
hostp             585 src/simh/sim_sock.c     if (p_getaddrinfo(hostp, NULL, NULL, &ai_host))
hostp             604 src/simh/sim_sock.c         if (((0 == strcmp("127.0.0.1", hostp)) &&
hostp             607 src/simh/sim_sock.c              (0 == strcmp("::1", hostp))))
hostp             654 src/simh/sim_sock.c const char *hostp;
hostp             658 src/simh/sim_sock.c hostp = strchr (cptr, ':');
hostp             659 src/simh/sim_sock.c if ((hostp != NULL) && ((hostp[1] == '[') || (NULL != strchr (hostp+1, ':')))) {
hostp             662 src/simh/sim_sock.c         if (localport_len > (size_t)(hostp-cptr))
hostp             663 src/simh/sim_sock.c             localport_len = (size_t)(hostp-cptr);
hostp             666 src/simh/sim_sock.c     return sim_parse_addr (hostp+1, host, hostlen, default_host, port, port_len, default_port, NULL);