diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-10-25 13:45:10 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-10-25 13:45:10 +0000 |
commit | 461caa5c06e0c15cc9d4f892a51e91fb6c32fcbd (patch) | |
tree | 2a1b3d609e2ba33db077ba9ff6ad2aedee2a7bd1 /doc | |
parent | Changed version number. (diff) | |
download | rtems-461caa5c06e0c15cc9d4f892a51e91fb6c32fcbd.tar.bz2 |
Swapped SO_SNDWAKEUP and SO_RCVWAKEUP in many places since they were
backwards.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/networking/networkapp.t | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/doc/networking/networkapp.t b/doc/networking/networkapp.t index 144eb54c49..add488481c 100644 --- a/doc/networking/networkapp.t +++ b/doc/networking/networkapp.t @@ -342,22 +342,21 @@ structure has the following fields: @end example These options are used to set a function to be called when there is -data available from the socket (@code{SO_SNDWAKEUP}) and when there is space -available to accept data written to the socket (@code{SO_RCVWAKEUP}). +data available from the socket (@code{SO_RCVWAKEUP}) and when there is space +available to accept data written to the socket (@code{SO_SNDWAKEUP}). -If @code{setsockopt} is called with the @code{SO_SNDWAKEUP} option, and the +If @code{setsockopt} is called with the @code{SO_RCVWAKEUP} option, and the @code{sw_pfn} field is not zero, then when there is data available to be read from the socket, the function pointed to by the @code{sw_pfn} field will be called. A pointer to the socket structure will be passed as the first -argument to the function. The @code{sw_arg} field -set by the @code{SO_SNDWAKEUP} -call will be passed as the second argument to the function. - -If @code{setsockopt} is called with the @code{SO_RCVWAKEUP} -function, and the @code{sw_pfn} -field is not zero, then when there is space available to accept data -written to the socket, the function pointed to by the @code{sw_pfn} field +argument to the function. The @code{sw_arg} field set by the +@code{SO_RCVWAKEUP} call will be passed as the second argument to the function. + +If @code{setsockopt} is called with the @code{SO_SNDWAKEUP} +function, and the @code{sw_pfn} field is not zero, then when +there is space available to accept data written to the socket, +the function pointed to by the @code{sw_pfn} field will be called. The arguments passed to the function will be as with @code{SO_SNDWAKEUP}. |