Lines Matching refs:socket
40 #include <sys/socket.h>
52 #include "socket.h"
317 if ((fd = socket(AF_INET, SOCK_DGRAM, 0)) < 0) {
318 avahi_log_warn("socket() failed: %s", strerror(errno));
381 if ((fd = socket(AF_INET6, SOCK_DGRAM, 0)) < 0) {
382 avahi_log_warn("socket() failed: %s", strerror(errno));
900 if ((fd = socket(AF_INET, SOCK_DGRAM, 0)) < 0) {
901 avahi_log_warn("socket() failed: %s", strerror(errno));
940 if ((fd = socket(AF_INET6, SOCK_DGRAM, 0)) < 0) {
941 avahi_log_warn("socket() failed: %s", strerror(errno));