mUPnP for C++
mUPnP::HTTPUSocket Class Reference

#include <HTTPUSocket.h>

Inheritance diagram for mUPnP::HTTPUSocket:
mUPnP::SSDPSearchResponseSocket

Public Member Functions

 HTTPUSocket ()
 
 ~HTTPUSocket ()
 
bool open (int bindPort=-1, const std::string &bindAddr="")
 
bool close ()
 
uHTTP::DatagramSocket & getDatagramSocket ()
 
const char * getLocalAddress ()
 
bool post (const std::string &addr, int port, const std::string &msg)
 
bool receive (SSDPPacket *ssdpPacket)
 

Private Attributes

uHTTP::DatagramSocket ssdpUniSock
 

Constructor & Destructor Documentation

◆ HTTPUSocket()

mUPnP::HTTPUSocket::HTTPUSocket ( )

◆ ~HTTPUSocket()

mUPnP::HTTPUSocket::~HTTPUSocket ( )

Member Function Documentation

◆ close()

bool mUPnP::HTTPUSocket::close ( )

◆ getDatagramSocket()

uHTTP::DatagramSocket & mUPnP::HTTPUSocket::getDatagramSocket ( )
inline

◆ getLocalAddress()

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

◆ open()

bool mUPnP::HTTPUSocket::open ( int bindPort = -1,
const std::string & bindAddr = "" )

◆ post()

bool mUPnP::HTTPUSocket::post ( const std::string & addr,
int port,
const std::string & msg )

◆ receive()

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

Field Documentation

◆ ssdpUniSock

uHTTP::DatagramSocket mUPnP::HTTPUSocket::ssdpUniSock
private

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