summaryrefslogtreecommitdiff
path: root/ace/FILE_IO.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1997-09-02 20:08:47 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1997-09-02 20:08:47 +0000
commit02b4c5d878dbcbaaa9bb046cf7f3115cfdc69b25 (patch)
treec396a89f8114f7c21b65067a9ed2e7f1e3490a88 /ace/FILE_IO.cpp
parent3c8b98b4c3305679d882ca22d8bff7c97989d617 (diff)
downloadATCD-02b4c5d878dbcbaaa9bb046cf7f3115cfdc69b25.tar.gz
*** empty log message ***
Diffstat (limited to 'ace/FILE_IO.cpp')
-rw-r--r--ace/FILE_IO.cpp23
1 files changed, 22 insertions, 1 deletions
diff --git a/ace/FILE_IO.cpp b/ace/FILE_IO.cpp
index a02e38c656d..48317a70cac 100644
--- a/ace/FILE_IO.cpp
+++ b/ace/FILE_IO.cpp
@@ -12,7 +12,7 @@ ACE_FILE_IO::dump (void) const
ACE_TRACE ("ACE_FILE_IO::dump");
ACE_DEBUG ((LM_DEBUG, ACE_BEGIN_DUMP, this));
- remote_addr_.dump ();
+ this->addr_.dump ();
ACE_DEBUG ((LM_DEBUG, ACE_END_DUMP));
}
@@ -92,3 +92,24 @@ ACE_FILE_IO::recv (size_t n, ...) const
return result;
}
+// Return the local endpoint address.
+
+int
+ACE_FILE_IO::get_local_addr (ACE_FILE_Addr &addr) const
+{
+ ACE_TRACE ("ACE_FILE_IO::get_local_addr");
+
+ addr = this->addr_;
+ return 0;
+}
+
+// Return the address of the remotely connected peer (if there is
+// one).
+
+int
+ACE_FILE_IO::get_remote_addr (ACE_FILE_Addr &addr) const
+{
+ ACE_TRACE ("ACE_FILE_IO::get_remote_addr");
+ addr = this->addr_;
+ return 0;
+}