4 #include <sys/socket.h>
10 struct sockaddr_un sun
={.sun_family
=AF_IPN
,.sun_path
="/tmp/sockipn"};
13 int s
=socket(AF_IPN
,SOCK_RAW
,IPN_BROADCAST
);
20 err
=bind(s
,(struct sockaddr
*)&sun
,sizeof(sun
));
23 err
=connect(s
,NULL
,0);
26 for (i
=0;i
<LIMIT
;i
++) {
27 sprintf(buf
,"%d\n",i
);