gearmand_port_add(3)

NAME

gearmand_port_add - Gearmand

SYNOPSIS

#include <libgearman/gearman.h>
  gearman_return_t  gearmand_port_add(gearmand_st  *gearmand, in_port_t
port,  gearman_con_add_fn *function);

DESCRIPTION

Add a port to listen on when starting server with optional callback.

PARAMETERS

gearmand
Server instance structure previously initialized with gearmand_create.
port Port for the server to listen on.
function
Optional callback function that is called when a connection has been accepted on the given port.

RETURN VALUE

Standard gearman return value.

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