diff options
Diffstat (limited to 'ace/SOCK_IO.h')
-rw-r--r-- | ace/SOCK_IO.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/ace/SOCK_IO.h b/ace/SOCK_IO.h index 0a7592fe5d1..c6eaa4dbc8e 100644 --- a/ace/SOCK_IO.h +++ b/ace/SOCK_IO.h @@ -5,13 +5,13 @@ // // = LIBRARY // ace -// +// // = FILENAME // SOCK_IO.h // // = AUTHOR -// Doug Schmidt -// +// Doug Schmidt +// // ============================================================================ #ifndef ACE_SOCK_IO_H @@ -20,7 +20,7 @@ #include "ace/SOCK.h" #if !defined (ACE_LACKS_PRAGMA_ONCE) -#pragma once +# pragma once #endif /* ACE_LACKS_PRAGMA_ONCE */ class ACE_Export ACE_SOCK_IO : public ACE_SOCK @@ -68,9 +68,9 @@ public: // Recv a vector of an <n> byte messages to the connected socket. ssize_t send (const void *buf, - size_t n, + size_t n, int flags, - const ACE_Time_Value *timeout); + const ACE_Time_Value *timeout); // Wait to to <timeout> amount of time to send up to <n> bytes into // <buf> from <handle> (uses the <send> call). If <send> times out // a -1 is returned with <errno == ETIME>. If it succeeds the @@ -78,16 +78,16 @@ public: ssize_t recv (void *buf, size_t n, - int flags, - const ACE_Time_Value *timeout); + int flags, + const ACE_Time_Value *timeout); // Wait up to <timeout> amount of time to receive up to <n> bytes // into <buf> from <handle> (uses the <recv> call). If <recv> times // out a -1 is returned with <errno == ETIME>. If it succeeds the // number of bytes received is returned. ssize_t send (const void *buf, - size_t n, - const ACE_Time_Value *timeout); + size_t n, + const ACE_Time_Value *timeout); // Wait to to <timeout> amount of time to send up to <n> bytes into // <buf> from <handle> (uses the <send> call). If <send> times out // a -1 is returned with <errno == ETIME>. If it succeeds the @@ -95,7 +95,7 @@ public: ssize_t recv (void *buf, size_t n, - const ACE_Time_Value *timeout); + const ACE_Time_Value *timeout); // Wait up to <timeout> amount of time to receive up to <n> bytes // into <buf> from <handle> (uses the <recv> call). If <recv> times // out a -1 is returned with <errno == ETIME>. If it succeeds the |