Print this page
8112 EOF crazier RPC daemons

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man3socket/spray.3socket.man.txt
          +++ new/usr/src/man/man3rpc/spray.3rpc.man.txt
   1      -SPRAY(3SOCKET)             Sockets Library Functions            SPRAY(3SOCKET)
        1 +SPRAY(3RPC)                  RPC Library Functions                 SPRAY(3RPC)
   2    2  
   3    3  
   4    4  
   5    5  NAME
   6    6         spray - scatter data in order to test the network
   7    7  
   8    8  SYNOPSIS
   9      -       cc [ flag ... ] file ... -lsocket  -lnsl  [ library ... ]
        9 +       cc [ flag ... ] file ... -lsocket -lnsl -lrpcsvc [ library ... ]
  10   10         #include <rpcsvc/spray.h>
  11   11  
  12   12         bool_t xdr_sprayarr(XDR *xdrs, sprayarr *objp);
  13   13  
  14   14  
  15   15         bool_t xdr_spraycumul(XDR *xdrs, spraycumul *objp);
  16   16  
  17   17  
  18   18  DESCRIPTION
  19   19         The spray program sends packets to a given machine to test
↓ open down ↓ 72 lines elided ↑ open up ↑
  92   92  
  93   93  
  94   94  
  95   95         +---------------+-----------------+
  96   96         |ATTRIBUTE TYPE | ATTRIBUTE VALUE |
  97   97         +---------------+-----------------+
  98   98         |MT-Level       | Unsafe          |
  99   99         +---------------+-----------------+
 100  100  
 101  101  SEE ALSO
 102      -       spray(1M), rpc_clnt_calls(3NSL), attributes(5)
      102 +       rpc_clnt_calls(3NSL), attributes(5)
 103  103  
 104  104  NOTES
 105  105         This interface is unsafe in multithreaded applications.  Unsafe
 106  106         interfaces should be called only from the main thread.
 107  107  
 108  108  
 109  109         A spray program is not useful as a networking benchmark as it uses
 110  110         unreliable connectionless transports, for example, udp. It can report a
 111  111         large number of packets dropped, when the drops were caused by the
 112  112         program sending packets faster than they can be buffered locally, that
 113  113         is, before the packets get to the network medium.
 114  114  
 115  115  
 116  116  
 117      -                               December 30, 1996                SPRAY(3SOCKET)
      117 +                                April 13, 2017                     SPRAY(3RPC)
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX