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 <HttpResponse.h>
fr::HttpSocket client;
fr::TcpListener listener;
fr::HttpSocket<fr::TcpSocket> client; //fr::TcpSocket for HTTP. fr::SSLSocket for HTTPS.
fr::TcpListener listener; //Use an fr::SSLListener if HTTPS.
//Bind to a port
if(listener.listen("8081") != fr::Socket::Success)