diff options
author | Steve Huston <shuston@riverace.com> | 2004-10-27 21:07:30 +0000 |
---|---|---|
committer | Steve Huston <shuston@riverace.com> | 2004-10-27 21:07:30 +0000 |
commit | 4c8a6efdc2fb418184d035aa4090142110b6e923 (patch) | |
tree | 65d03494026685e8a1f1f21f00b11846d88c8bfe /ace/UNIX_Addr.h | |
parent | e8d6692635980cec76f553e15e00ad3022297dae (diff) | |
download | ATCD-4c8a6efdc2fb418184d035aa4090142110b6e923.tar.gz |
ChangeLogTag:Wed Oct 27 16:22:49 2004 Steve Huston <shuston@riverace.com>
Diffstat (limited to 'ace/UNIX_Addr.h')
-rw-r--r-- | ace/UNIX_Addr.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/ace/UNIX_Addr.h b/ace/UNIX_Addr.h index 86be58e2452..7825bac26f5 100644 --- a/ace/UNIX_Addr.h +++ b/ace/UNIX_Addr.h @@ -65,11 +65,19 @@ public: virtual void set_addr (void *addr, int len); /// Transform the current address into string format. - virtual int addr_to_string (char addr[], size_t) const; + virtual int addr_to_string (ACE_TCHAR addr[], size_t) const; /// Transform the string into the current addressing format. virtual int string_to_addr (const char addr[]); +#if defined (ACE_HAS_WCHAR) + /// Creates an ACE_UNIX_Addr from a string. + ACE_UNIX_Addr (const wchar_t rendezvous_point[]); + + /// Creates an ACE_UNIX_Addr from a string. + int set (const wchar_t rendezvous_point[]); +#endif /* ACE_HAS_WCHAR */ + /// Compare two addresses for equality. bool operator == (const ACE_UNIX_Addr &SAP) const; |