GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  PING_CONSTRUCT (3)

.ds Aq ’

NAME

ping_construct - Constructor for the liboping class

CONTENTS

SYNOPSIS



  #include <oping.h>

  pingobj_t *ping_construct (void);
  void       ping_destroy   (pingobj_t *obj);



DESCRIPTION

The ping_construct constructor allocates the memory necessary for a liboping object, initializes that memory and returns a pointer to it.

The ping_destroy iterates over all hosts associated with the liboping object obj, closes the sockets, removes the hosts and frees obj’s memory.

RETURN VALUE

The ping_construct constructor returns a pointer to the allocated memory or NULL if no memory could be allocated.

SEE ALSO

ping_setopt(3), ping_send(3), ping_host_add(3), ping_get_error(3), ping_iterator_get(3), liboping(3)

AUTHOR

liboping is written by Florian octo Forster <octo at verplant.org>. Its homepage can be found at <http://verplant.org/liboping/>.

Copyright (c) 2005-2011 by Florian octo Forster.

Search for    or go to Top of page |  Section 3 |  Main Index


1.6.2 PING_CONSTRUCT (3) 2011-09-06

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.