src/vfer_test_client.c File Reference

Test: A connection client that connects to the server and send a small buffer. More...

#include <stdio.h>
#include <netdb.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#include <sys/select.h>
#include "vfer_tests.h"
#include "vfer_api.h"

Go to the source code of this file.

Functions

int main (int argc, char **argv)

Variables

vfer_fd connect_skt
int frame_size
int ms_interval
int num_frames
int port


Detailed Description

Test: A connection client that connects to the server and send a small buffer.

Author:
Ivan Beschastnikh
This test tests c_control.c and api.c by setting up a socket for connection, connecting to a server and sending the server a constant size buffer(arg to program) a variable number of times (arg to program), sleeping in between each for some time (also arg to program).

Definition in file vfer_test_client.c.


Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 39 of file vfer_test_client.c.


Variable Documentation

vfer_fd connect_skt

Definition at line 30 of file vfer_test_client.c.

int frame_size

Definition at line 33 of file vfer_test_client.c.

int ms_interval

Definition at line 34 of file vfer_test_client.c.

int num_frames

Definition at line 32 of file vfer_test_client.c.

int port

Definition at line 31 of file vfer_test_client.c.


Generated on Tue Aug 8 16:07:22 2006 for VFER by  doxygen 1.4.7