Lines Matching refs:socket
55 #include <sys/socket.h>
101 * setup the socket used to handle incoming HTTP connections. */
112 if( (s = socket(PF_INET, SOCK_STREAM, 0)) < 0)
114 DPRINTF(E_ERROR, L_GENERAL, "socket(http): %s\n", strerror(errno));
991 DPRINTF(E_INFO, L_GENERAL, "Failed to open socket for receiving SSDP. Trying to use MiniSSDPd\n");
997 /* open socket for HTTP connections. Listen on the 1st LAN address */
1001 DPRINTF(E_FATAL, L_GENERAL, "Failed to open socket for HTTP. EXITING\n");
1005 /* open socket for sending notifications */
1021 /* open socket for sending Tivo notifications */
1138 if((e->socket >= 0) && (e->state <= 2))
1140 FD_SET(e->socket, &readset);
1141 max_fd = MAX(max_fd, e->socket);
1190 if( (e->socket >= 0) && (e->state <= 2)
1191 &&(FD_ISSET(e->socket, &readset)) )