=head1 NAME ping_construct - Constructor for the liboping class =head1 SYNOPSIS #include pingobj_t *ping_construct (void); void ping_destroy (pingobj_t *obj); =head1 DESCRIPTION The B constructor allocates the memory necessary for a liboping object, initializes that memory and returns a pointer to it. The B iterates over all hosts associated with the liboping object I, closes the sockets, removes the hosts and frees I's memory. =head1 RETURN VALUE The B constructor returns a pointer to the allocated memory or NULL if no memory could be allocated. =head1 SEE ALSO L, L, L, L, L, L =head1 AUTHOR liboping is written by Florian "octo" Forster Eff at octo.itE. Its homepage can be found at L. Copyright (c) 2005-2011 by Florian "octo" Forster.