res_nsend()--Send Buffered Domain Query or Update


  Syntax
 #include <sys/types.h>
 #include <netinet/in.h>
 #include <arpa/nameser.h>
 #include <resolv.h>

 int res_nsend(state* res,
              const unsigned char *query_buffer,  
              int  query_buffer_length,
              unsigned char *answer_buffer,
              int  answer_buffer_length)


  Service Program Name: QSOSRV2

  Default Public Authority: *USE

  Threadsafe: Yes

The res_nsend() function is similar to res_send() but it uses a user-declared res pointer instead of the shared _res.

For a description of this function and more information on the parameters, authorities required, return values, error conditions, error messages, usage notes, and related information, see res_send()--Send Buffered Domain Query.


Parameters

res
(Input/Output) The pointer to the state structure.

Related Information



API introduced: V3R1

[ Back to top | UNIX-Type APIs | APIs by category ]