WIZNet W5500 with additional enhancements
Fork of WIZnetInterface by
Diff: Socket/Endpoint.h
- Revision:
- 34:7d44648ec5f2
- Parent:
- 0:6f28332c466f
--- a/Socket/Endpoint.h Sat Oct 07 22:10:01 2017 +0200
+++ b/Socket/Endpoint.h Mon Oct 09 19:58:19 2017 +0200
@@ -45,7 +45,8 @@
\return 0 on success, -1 on failure (when an hostname cannot be resolved by DNS).
*/
int set_address(const char* host, const int port);
-
+ int set_address(const uint32_t addr, const int port);
+
/** Get the IP address of this endpoint
\return The IP address of this endpoint.
*/
Helmut Tschemernjak
