Update README.md

This commit is contained in:
Cloaked9000 2016-12-15 12:31:33 +00:00 committed by GitHub
parent 14fccb84c9
commit 34abd12414

View File

@ -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)