LLCLOOP(ADMP) UNIX System V
Name
llcloop - software loopback network interface
Syntax
#include <sys/socket.h>
#include <netinet/in.h>
struct sockaddrin sin;
s = socket(AFINET, SOCKXXX, 0);
.
.
.
sin.sin_addr.s_addr = hton1 (INADDR_ANY);
bind(s, (char *)&sin, sizeof(sin));
Description
The llcloop interface is a software loopback mechanism which
may be used for performance analysis, software testing,
and/or local communication. As with other network
interfaces, the loopback interface must have network
addresses assigned for each address family with which it is
to be used. (Currently, only the Internet address family is
supported.) These addresses may be set or changed with the
SIOCSIFADDR ioctl. The loopback interface should be the
first one configured, otherwise nameserver lookups for
hostnames of other interfaces may fail.
Files
/dev/llcloop
See Also
intro(ADMP), inet(ADMP).
(printed 8/17/89) LLCLOOP(ADMP)