mUPnP for C++
mUPnP::HTTPMUSocket Class Reference

#include <HTTPMUSocket.h>

Inheritance diagram for mUPnP::HTTPMUSocket:
mUPnP::SSDPNotifySocket mUPnP::SSDPSearchSocket

Public Member Functions

 HTTPMUSocket ()
 
 ~HTTPMUSocket ()
 
const char * getLocalAddress ()
 
bool open (const std::string &addr, int port, const std::string &bindAddr)
 
bool close ()
 
bool send (const std::string &host, int port, const std::string &msg)
 
bool post (const std::string &host, int port, uHTTP::HTTPRequest *req)
 
bool receive (SSDPPacket *ssdpPacket)
 

Private Attributes

uHTTP::InetSocketAddress ssdpMultiGroup
 
uHTTP::MulticastSocket ssdpMultiSock
 

Constructor & Destructor Documentation

◆ HTTPMUSocket()

mUPnP::HTTPMUSocket::HTTPMUSocket ( )

◆ ~HTTPMUSocket()

mUPnP::HTTPMUSocket::~HTTPMUSocket ( )

Member Function Documentation

◆ close()

bool mUPnP::HTTPMUSocket::close ( )

◆ getLocalAddress()

const char * mUPnP::HTTPMUSocket::getLocalAddress ( )
inline

◆ open()

bool mUPnP::HTTPMUSocket::open ( const std::string & addr,
int port,
const std::string & bindAddr )

◆ post()

bool mUPnP::HTTPMUSocket::post ( const std::string & host,
int port,
uHTTP::HTTPRequest * req )
inline

◆ receive()

bool mUPnP::HTTPMUSocket::receive ( SSDPPacket * ssdpPacket)

◆ send()

bool mUPnP::HTTPMUSocket::send ( const std::string & host,
int port,
const std::string & msg )

Field Documentation

◆ ssdpMultiGroup

uHTTP::InetSocketAddress mUPnP::HTTPMUSocket::ssdpMultiGroup
private

◆ ssdpMultiSock

uHTTP::MulticastSocket mUPnP::HTTPMUSocket::ssdpMultiSock
private

The documentation for this class was generated from the following file: