dwp.c File Reference

A simple DWP (database wire protocol) test. More...

Go to the source code of this file.

Defines

#define REQ_LENGTH   1024

Functions

int check_dwp (Port_T p)


Detailed Description

A simple DWP (database wire protocol) test.

We send the following request to the server: 'HEAD / HTTP/1.1' and check the server's status code.

If the status code is >= 400, an error has occurred. Return TRUE if the status code is 200, otherwise FALSE.

Author:
Jan-Henrik Haukeland, <hauk@tildeslash.com> , Martin Pala, <martin.pala@iol.cz>
Version:
$Id: dwp.c,v 1.4 2003/02/14 08:22:33 martinp Exp $

Definition in file dwp.c.


Define Documentation

#define REQ_LENGTH   1024
 


Function Documentation

int check_dwp Port_T    p
 

Definition at line 63 of file dwp.c.

References ASSERT, chomp(), log(), port_recv(), port_send(), and STRERROR.