Ethernet
Dependencies: Socket lwip- lwip-sys lwip
Fork of EthernetInterface by
Diff: EthernetInterface.h
- Revision:
- 35:cba86db5ab96
- Parent:
- 30:4d7d7dc8485f
- Child:
- 37:926eb6517318
--- a/EthernetInterface.h Tue Oct 01 11:29:54 2013 +0000 +++ b/EthernetInterface.h Wed Oct 09 12:00:18 2013 +0100 @@ -69,6 +69,16 @@ * \return a pointer to a string containing the IP address */ static char* getIPAddress(); + + /** Get the Gateway address of your Ethernet interface + * \return a pointer to a string containing the Gateway address + */ + static char* getGateway(); + + /** Get the Network mask of your Ethernet interface + * \return a pointer to a string containing the Network mask + */ + static char* getNetworkMask(); }; #include "TCPSocketConnection.h"