diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-12-06 18:19:10 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-12-06 18:19:10 +0000 |
commit | 936f3218cc459282992fe233b3b6bb519b5b85e0 (patch) | |
tree | edf6b36cd0d54dc69454174a5c6aa5a52b675dd9 /ace/IOStream_T.i | |
parent | e17b75b2132fd703c0084e1d655b5065d6c3fcdf (diff) | |
download | ATCD-936f3218cc459282992fe233b3b6bb519b5b85e0.tar.gz |
*** empty log message ***
Diffstat (limited to 'ace/IOStream_T.i')
-rw-r--r-- | ace/IOStream_T.i | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/ace/IOStream_T.i b/ace/IOStream_T.i index ba0d2e5ea70..78838a07307 100644 --- a/ace/IOStream_T.i +++ b/ace/IOStream_T.i @@ -41,6 +41,18 @@ ACE_Streambuf_T<STREAM>::get_handle (void) } template <class STREAM> ACE_INLINE +ACE_IOStream<STREAM>::eof (void) const +{ + char c; + return ACE_OS::recv (this->get_handle (), + &c, + sizeof c, + MSG_PEEK) <= 0; +} + + + +template <class STREAM> ACE_INLINE ACE_SOCK_Dgram_SC<STREAM>::ACE_SOCK_Dgram_SC (void) { } |