/[monit]/monit/net.h
ViewVC logotype

Diff of /monit/net.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.18 by hauk, Wed Sep 3 23:28:38 2003 UTC revision 1.19 by martinp, Thu Sep 25 15:22:10 2003 UTC
# Line 29  Line 29 
29   *  General purpose Network and Socket methods.   *  General purpose Network and Socket methods.
30   *   *
31   *  @author Jan-Henrik Haukeland, <hauk@tildeslash.com>   *  @author Jan-Henrik Haukeland, <hauk@tildeslash.com>
32   *  @author Christian Hopp <chopp@iei.tu-clausthal.de>   *  @author Christian Hopp, <chopp@iei.tu-clausthal.de>
33     *  @author Martin Pala, <martin.pala@iol.cz>
34   *   *
35   *  @version \$Id$   *  @version \$Id$
36   *   *
# Line 199  int sock_write(int socket, const void *b Line 200  int sock_write(int socket, const void *b
200  */  */
201  int sock_read(int socket, void *buffer, int size, int timeout);  int sock_read(int socket, void *buffer, int size, int timeout);
202    
203    /**
204     * Create a ICMP socket against hostname, send echo and wait for response.
205     * @param hostname The host to open a socket at
206     * @param timeout If response will not come within timeout seconds abort
207     * @return TRUE on succes, FALSE on error
208     */
209    int icmp_echo(const char *hostname, int timeout);
210    
211  #endif  #endif

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26