Lines Matching +full:multi +full:- +full:socket
5 > rejected. I assume this is due to the -DPARANOID option, and depends
12 confusion I have removed the old name wzv-gw.win.tue.nl from the DNS. I
15 NIS was not designed to handle multi-homed hosts. With NIS, each
16 address should have its own hostname. For example, wzv-gw is my
20 131.155.210.23 wzv-gw-ether
21 131.155.12.78 wzv-gw-slip
23 In principle, wzv-gw could be the official name of one of these
26 The DNS was designed to handle multi-homed hosts. In the DNS my gateway
29 wzv-gw IN A 131.155.210.23
32 And of course there are PTR records in zones 210.155.131.in-addr.arpa
33 and 12.155.131.in-addr.arpa that point to wzv-gw.win.tue.nl.
39 % gethostbyname wzv-gw
40 Hostname: wzv-gw.win.tue.nl
45 Hostname: wzv-gw-ether
50 Hostname: wzv-gw-slip
57 % gethostbyname wzv-gw.win.tue.nl
58 Hostname: wzv-gw.win.tue.nl
63 Hostname: wzv-gw.win.tue.nl
68 Hostname: wzv-gw.win.tue.nl
75 % gethostbyname wzv-gw.win.tue.nl
76 Hostname: wzv-gw.win.tue.nl
77 Aliases: 131.155.210.23 wzv-gw.win.tue.nl
87 # files, type "sh file -c". You can also feed this as standard input via
94 if test -f gethostbyaddr.c -a "${1}" != "-c" ; then
95 echo shar: Will not over-write existing file \"gethostbyaddr.c\"
102 X * cc -o gethostbyaddr gethostbyaddr.c (SunOS 4.x)
104 X * cc -o gethostbyaddr gethostbyaddr.c -lnsl (SunOS 5.x)
112 X#include <sys/socket.h>
131 X printf("Hostname:\t%s\n", hp->h_name);
133 X while (hp->h_aliases[0])
134 X printf("%s ", *hp->h_aliases++);
137 X while (hp->h_addr_list[0])
138 X printf("%s ", inet_ntoa(*(struct in_addr *) * hp->h_addr_list++));
146 if test 1073 -ne `wc -c <gethostbyaddr.c`; then
151 if test -f gethostbyname.c -a "${1}" != "-c" ; then
152 echo shar: Will not over-write existing file \"gethostbyname.c\"
159 X * cc -o gethostbyname gethostbyname.c (SunOS 4.x)
161 X * cc -o gethostbyname gethostbyname.c -lnsl (SunOS 5.x)
168 X#include <sys/socket.h>
185 X printf("Hostname:\t%s\n", hp->h_name);
187 X while (hp->h_aliases[0])
188 X printf("%s ", *hp->h_aliases++);
191 X while (hp->h_addr_list[0])
192 X printf("%s ", inet_ntoa(*(struct in_addr *) * hp->h_addr_list++));
201 if test 999 -ne `wc -c <gethostbyname.c`; then