1gearman_client_add_server(3)        Gearman       gearman_client_add_server(3)
2
3
4

NAME

6       gearman_client_add_server - Client Declarations
7

SYNOPSIS

9       #include <libgearman/gearman.h>
10
11         gearman_return_t gearman_client_add_server(gearman_client_st *client,
12       const char *host, in_port_t port);
13

DESCRIPTION

15       Add a job server to a client. This goes into a list of servers that can
16       be used to run tasks. No socket I/O happens here, it is just added to a
17       list.  *
18

PARAMETERS

20              [in]  client  Structure  previously   initialized   with   gear‐
21              man_client_create() or gearman_client_clone().
22
23              [in] host Hostname or IP address (IPv4 or IPv6) of the server to
24              add.
25
26              [in] port Port of the server to add.
27

RETURN VALUE

29       Standard gearman return value.
30

SEE ALSO

32       The Gearman homepage: http://www.gearman.org/
33

BUGS

35       Bugs should be reported at https://bugs.launchpad.net/gearmand
36

COPYING

38       Copyright (C) 2008 Brian Aker, Eric Day. All rights reserved.
39
40       Use and distribution licensed under the BSD license.  See  the  COPYING
41       file in the original source for full text.
42
43
44
45Gearman                           2010-03-15      gearman_client_add_server(3)
Impressum