1#ifdef COMPA_HAVE_CTRLPT_SSDP
3#ifndef COMPA_SSDP_CTRLPT_HPP
4#define COMPA_SSDP_CTRLPT_HPP
74 sockaddr_storage* dest_addr,
123 SOCKET* ssdpReqSock);
135 SOCKET* ssdpReqSock);
Structure of an HTTP message.
int SearchByTarget(int Hnd, int Mx, char *St, void *Cookie)
Creates and send the search request for a specific URL.
void ssdp_handle_ctrlpt_msg(http_message_t *hmsg, sockaddr_storage *dest_addr, int timeout)
This function handles the ssdp messages from the devices.
int create_ssdp_sock_reqv6(SOCKET *ssdpReqSock)
Creates the SSDP IPv6 socket to be used by the control point.
int create_ssdp_sock_reqv4(SOCKET *ssdpReqSock)
Creates the SSDP IPv4 socket to be used by the control point.
Manage "Step 1: Discovery" of the UPnP+™ specification with SSDP.
SsdpSearchType
Enumeration to define all different types of ssdp searches.
int timeoutEventId
part of search argument
enum SsdpSearchType requestType
part of search argument
void * cookie
part of search argument
char * searchTarget
part of search argument