gearmand_port_add
gearmand_port_add
Section: Gearman (3) Updated: 2009-09-29 Local index
Up
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.
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- PARAMETERS
-
- RETURN VALUE
-
- SEE ALSO
-
- BUGS
-
- COPYING
-
This document was created by
man2html,
using the manual pages.
Time: 22:37:13 GMT, April 16, 2011