class LGPRSServer : public LTcpServer;
class LGPRSServer : public LTcpServer;
LGPRSServer Class
Please see the method description of LTcpServer class.
LGPRS.attach();
LGPRSServer server(80);
server.begin(); // Start listening on port 80 through GPRS network.LGPRSServer.h
|
Method |
Description |
|
Checks if there is a client connected. If there is one, an LGPRSClient object will be returned to represent the connection between this server object and the remote client. Call LGPRSClient.read()/LGPRSClient.write() to exchange data with the connected client. |