Merged branch master into master
This commit is contained in:
commit
2aeff56569
@ -75,8 +75,8 @@ Effectively the reverse of sending packets. We call fr::TcpSocket::receive, pass
|
|||||||
#include <HttpRequest.h>
|
#include <HttpRequest.h>
|
||||||
#include <HttpResponse.h>
|
#include <HttpResponse.h>
|
||||||
|
|
||||||
fr::HttpSocket client;
|
fr::HttpSocket<fr::TcpSocket> client; //fr::TcpSocket for HTTP. fr::SSLSocket for HTTPS.
|
||||||
fr::TcpListener listener;
|
fr::TcpListener listener; //Use an fr::SSLListener if HTTPS.
|
||||||
|
|
||||||
//Bind to a port
|
//Bind to a port
|
||||||
if(listener.listen("8081") != fr::Socket::Success)
|
if(listener.listen("8081") != fr::Socket::Success)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user