File diff r25682:1d3bb3fedcce → r25683:8d225950ffa2
src/network/core/address.h
Show inline comments
 
@@ -86,13 +86,12 @@ public:
 
		memset(&this->address, 0, sizeof(this->address));
 
		this->address.ss_family = family;
 
		this->SetPort(port);
 
	}
 

	
 
	const char *GetHostname();
 
	void GetAddressAsString(char *buffer, const char *last, bool with_family = true);
 
	std::string GetAddressAsString(bool with_family = true);
 
	const sockaddr_storage *GetAddress();
 

	
 
	/**
 
	 * Get the (valid) length of the address.
 
	 * @return the length