* Take notifications back out of their own thread, and rely on select timeouts.

* Increment SystemUpdateID as necessary just before processing new HTTP requests.
This commit is contained in:
Justin Maggard
2009-06-15 22:37:49 +00:00
parent c07d7e7ec4
commit 94989f8b15
4 changed files with 103 additions and 161 deletions

View File

@ -8,16 +8,6 @@
/*#include "minidlnatypes.h"*/
struct sockets
{
int snotify[MAX_LAN_ADDR];
#ifdef TIVO_SUPPORT
int sbeacon;
struct sockaddr_in tivo_bcast;
#endif
struct timeval *timeout;
};
int
OpenAndConfSSDPReceiveSocket();
/* OpenAndConfSSDPReceiveSocket(int n_lan_addr, struct lan_addr_s * lan_addr);*/
@ -49,8 +39,5 @@ ProcessSSDPRequest(int s, unsigned short port);
int
SendSSDPGoodbye(int * sockets, int n);
void *
start_notify(void * arg);
#endif