SNICInterface for development
Fork of SNICInterface by
Diff: Socket/Endpoint.h
- Revision:
- 38:f13e4e563d65
- Parent:
- 33:33f1bc919486
- Child:
- 39:a1233ca02edf
diff -r f3a2053627c2 -r f13e4e563d65 Socket/Endpoint.h --- a/Socket/Endpoint.h Tue Jun 24 06:24:23 2014 +0000 +++ b/Socket/Endpoint.h Wed Jun 25 00:04:11 2014 +0000 @@ -50,11 +50,11 @@ void reset_address(void); /** Set the address of this endpoint - \param host The endpoint address (it can either be an IP Address or a hostname that will be resolved with DNS). + \param host_p The endpoint address (it can either be an IP Address or a hostname that will be resolved with DNS). \param port The endpoint port \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 char* host_p, const int port); /** Get the IP address of this endpoint \return The IP address of this endpoint.