Changeset 461caa5c in rtems


Ignore:
Timestamp:
Oct 25, 1999, 1:45:10 PM (21 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
538db54
Parents:
666e377
Message:

Swapped SO_SNDWAKEUP and SO_RCVWAKEUP in many places since they were
backwards.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/networking/networkapp.t

    r666e377 r461caa5c  
    343343
    344344These options are used to set a function to be called when there is
    345 data available from the socket (@code{SO_SNDWAKEUP}) and when there is space
    346 available to accept data written to the socket (@code{SO_RCVWAKEUP}).
    347 
    348 If @code{setsockopt} is called with the @code{SO_SNDWAKEUP} option, and the
     345data available from the socket (@code{SO_RCVWAKEUP}) and when there is space
     346available to accept data written to the socket (@code{SO_SNDWAKEUP}).
     347
     348If @code{setsockopt} is called with the @code{SO_RCVWAKEUP} option, and the
    349349@code{sw_pfn} field is not zero, then when there is data
    350350available to be read from
    351351the socket, the function pointed to by the @code{sw_pfn} field will be
    352352called.  A pointer to the socket structure will be passed as the first
    353 argument to the function.  The @code{sw_arg} field
    354 set by the @code{SO_SNDWAKEUP}
    355 call will be passed as the second argument to the function.
    356 
    357 If @code{setsockopt} is called with the @code{SO_RCVWAKEUP}
    358 function, and the @code{sw_pfn}
    359 field is not zero, then when there is space available to accept data
    360 written to the socket, the function pointed to by the @code{sw_pfn} field
     353argument to the function.  The @code{sw_arg} field set by the
     354@code{SO_RCVWAKEUP} call will be passed as the second argument to the function.
     355
     356If @code{setsockopt} is called with the @code{SO_SNDWAKEUP}
     357function, and the @code{sw_pfn} field is not zero, then when
     358there is space available to accept data written to the socket,
     359the function pointed to by the @code{sw_pfn} field
    361360will be called.  The arguments passed to the function will be as with
    362361@code{SO_SNDWAKEUP}.
Note: See TracChangeset for help on using the changeset viewer.