Lines Matching refs:socket
37 #include <sys/socket.h>
78 /* Open and configure the socket listening for
87 if( (s = socket(PF_INET, SOCK_DGRAM, 0)) < 0)
89 DPRINTF(E_ERROR, L_SSDP, "socket(udp): %s\n", strerror(errno));
128 /* open the UDP socket used to send SSDP notifications to
140 if( (s = socket(PF_INET, SOCK_DGRAM, 0)) < 0)
142 DPRINTF(E_ERROR, L_SSDP, "socket(udp_notify): %s\n", strerror(errno));
402 s = socket(PF_INET, SOCK_STREAM, 0);
803 s = socket(AF_UNIX, SOCK_STREAM, 0);
805 DPRINTF(E_ERROR, L_SSDP, "socket(unix): %s", strerror(errno));