gearmand_con_create(3)

NAME

gearmand_con_create - Gearmand Connections

SYNOPSIS

#include <libgearman/gearman.h>
  gearman_return_t  gearmand_con_create(gearmand_st  *gearmand, int fd,
const char *host, const char *port,  gearman_con_add_fn *add_fn);

DESCRIPTION

Create a new gearmand connection.

PARAMETERS

gearmand
Server instance structure previously initialized with gearmand_create.
fd File descriptor of new connection.
host Host of peer connection.
port Port of peer connection.
add_fn Optional callback to use when adding the connection to an I/O
thread.

RETURN VALUE

Pointer to an allocated gearmand structure.

SEE ALSO

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

BUGS

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

COPYING

Copyright (C) 2008 Brian Aker, Eric Day. All rights reserved.

Use and distribution licensed under the BSD license. See the COPYING file in the original source for full text.
Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout