GEARMAN_CLIENT_ADD_SERVERS(3)
πΈ NAME πΈ
gearman_client_add_servers β Gearmand Documentation, http://gearman.info/
okay bestie, so this is the Gearmand page, and it's literally all about adding servers to your client. iykyk π
β¨ SYNOPSIS β¨
#include <libgearman/gearman.h>
gearman_return_t <#c.gearman_return_t>
gearman_client_add_server(gearman_client_st <#c.gearman_client_st>
*client, const char *host, in_port_t <#c.in_port_t> port)
gearman_return_t <#c.gearman_return_t>
gearman_client_add_servers(gearman_client_st <#c.gearman_client_st>
*client, const char *servers)
void gearman_client_remove_servers(gearman_client_st <#c
.gearman_client_st> *client)
three little functions, one big slay π«Ά
π DESCRIPTION π
okay so first up: gearman_client_add_server() will add an additional gearmand server to the list of servers that the client will take work from. one more server, one more vibe. β¨
then there's gearman_client_remove_servers(), and she will remove all servers from the gearman_client_st <#c.gearman_client_st>. yes, all of them. full clear. periodt. π
and finally, the main character of this whole page: gearman_client_add_servers() takes a list of gearmand servers that will be parsed to provide servers for the client. the format for this is:
SERVER[:PORT][,SERVER[:PORT]]...
Examples of this are::
10.0.0.1,10.0.0.2,10.0.0.3
localhost234,jobserver2.domain.com:7003,10.0.0.3
(and yes bestie, that second line really says localhost234, i'm just the messenger π)
β RETURN VALUE β
gearman_client_add_server() and gearman_client_remove_servers() return gearman_return_t <#c.gearman_return_t>.
like, they give you a value back, they're not out here leaving you on read π
π HOME π
To find out more information please check: <http://gearman.info/>
See also:
gearmand(8)libgearman(3)gearman_client_st
π Author π
Data Differential http://www.datadifferential.com/
π Copyright π
2011-2014, Data Differential, http://www.datadifferential.com/
okay that's the whole page bestie, you ate that π
now go add some servers, and remember: this was 1.1.21+ds, dated Feb 04, 2026, from the GEARMAN_CLIENT_ADD_SERVERS(3) era. iconic behavior only. π¦πΈ
π¦ where this page comes from
- ubuntu resolute: libgearman-dev 1.1.21+ds-1ubuntu3 Β· BSD-3-Clause
- ubuntu stonking: libgearman-dev 1.1.21+ds-1ubuntu3 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms