Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of SW_HTTPServer by
Diff: SW_HTTPServer.h
- Revision:
- 5:c9b27e718054
- Parent:
- 4:f34642902056
- Child:
- 6:fdce4464d92b
--- a/SW_HTTPServer.h Tue Jun 25 16:37:06 2013 +0000 +++ b/SW_HTTPServer.h Tue Jun 25 18:07:43 2013 +0000 @@ -396,8 +396,9 @@ * @param str is the string to write the address into, which should be at * least as large as "192.168.100.203" (16-bytes). * @param strSize of the str buffer must be >=16, so it will not buffer overrun. + * @returns true if it succeeded, false otherwise */ - void GetRemoteAddr(char * str, int strSize); + bool GetRemoteAddr(char * str, int strSize); /** * This is used to force a connection to close @@ -457,6 +458,11 @@ * Reset performance metrics. */ void ResetPerformanceData(); + + /** + * Get the underlying wifly object. + */ + Wifly * GetWifly() { return wifly; }; private: Wifly * wifly; @@ -525,3 +531,4 @@ }; #endif //SW_HTTPSERVER_H +