Using HTTPSession w/ UDP

General discussion regarding the development of POCO for contributors.
Posts: 16
Joined: 08 Dec 2011, 03:59

Using HTTPSession w/ UDP

Postby philipp » 14 Dec 2011, 10:01

I need to run HTTP-over-UDP (for doing SSDP and UPnP IGD control).

What's involved in making HTTP and HTTPClientSession run over UDP?

I can't just use the constructor:

explicit HTTPClientSession(
const StreamSocket & socket

and pass it an initialized (but unconnected) UDP socket because it's a StreamSocket that it takes and not a Socket or DatagramSocket...

How much would break if I tried to run it over a datagram socket?


Return to “Contributors”

Who is online

Users browsing this forum: No registered users and 4 guests