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             495 src/simh/sim_sock.c const char *hostp;
hostp             520 src/simh/sim_sock.c hostp = gbuf;                                           /* default addr */
hostp             531 src/simh/sim_sock.c     hostp = (const char *)default_host;                 /* host is defaulted if provided */
hostp             551 src/simh/sim_sock.c if (hostp != NULL) {
hostp             552 src/simh/sim_sock.c     if (']' == hostp[strlen(hostp)-1]) {
hostp             553 src/simh/sim_sock.c         if ('[' != hostp[0])
hostp             556 src/simh/sim_sock.c         strncpy(gbuf, hostp+1, sizeof(gbuf)-1);         /* remove brackets from domain literal host */
hostp             558 src/simh/sim_sock.c         hostp = gbuf;
hostp             562 src/simh/sim_sock.c     if (hostp != NULL) {
hostp             563 src/simh/sim_sock.c         if (strlen(hostp) >= host_len)
hostp             566 src/simh/sim_sock.c             if (('\0' != hostp[0]) || (default_host == NULL))
hostp             567 src/simh/sim_sock.c                 strcpy (host, hostp);
hostp             587 src/simh/sim_sock.c     if (hostp == NULL)
hostp             589 src/simh/sim_sock.c     if (p_getaddrinfo(hostp, NULL, NULL, &ai_host))
hostp             608 src/simh/sim_sock.c         if (((0 == strcmp("127.0.0.1", hostp)) &&
hostp             611 src/simh/sim_sock.c              (0 == strcmp("::1", hostp))))
hostp             660 src/simh/sim_sock.c const char *hostp;
hostp             664 src/simh/sim_sock.c hostp = strchr (cptr, ':');
hostp             665 src/simh/sim_sock.c if ((hostp != NULL) && ((hostp[1] == '[') || (NULL != strchr (hostp+1, ':')))) {
hostp             668 src/simh/sim_sock.c         if (localport_len > (size_t)(hostp-cptr))
hostp             669 src/simh/sim_sock.c             localport_len = (size_t)(hostp-cptr);
hostp             672 src/simh/sim_sock.c     return sim_parse_addr (hostp+1, host, hostlen, default_host, port, port_len, default_port, NULL);