diff options
author | jha <jha@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2002-01-02 18:46:28 +0000 |
---|---|---|
committer | jha <jha@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2002-01-02 18:46:28 +0000 |
commit | ebb6d3812869855c21aa06bce4187cb087f11ef3 (patch) | |
tree | b65b402d15647f8ea6ee780e30d0e283b94847bb /ace/INET_Addr.h | |
parent | ea9ea77cb93aa8d37a3ac8c731a2a05f9b38144c (diff) | |
download | ATCD-ebb6d3812869855c21aa06bce4187cb087f11ef3.tar.gz |
Wed Jan 2 12:43:00 2002 John Aughey <jha@aughey.com>
Diffstat (limited to 'ace/INET_Addr.h')
-rw-r--r-- | ace/INET_Addr.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/ace/INET_Addr.h b/ace/INET_Addr.h index 3cee7b8ac94..caf5cef7905 100644 --- a/ace/INET_Addr.h +++ b/ace/INET_Addr.h @@ -229,13 +229,19 @@ public: int encode = 1); /** + * Set the host name without effecting the port number. + */ + int set_host_name (const char host_name[], + int address_family = AF_UNSPEC); + + /** * Sets the address without affecting the port number. If * <encode> is enabled then <ip_addr> is converted into network * byte order, otherwise it is assumed to be in network byte order * already and are passed straight through. The size of the address * is specified in the <len> parameter. */ - int set_address (const char *ip_addr, + int set_address (const void *ip_addr, int len, int encode = 1); |