src/vfer_test_server.c File Reference

Test: A listening, always accepting server. More...

#include <stdio.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 listen_skt
int port


Detailed Description

Test: A listening, always accepting server.

Author:
Ivan Beschastnikh
This test tests the server.c functionality and the associated api in api.c to set up a listening socket, start listening on the socket and accept incoming connections over that socket. This server is a daemon, so it never stops listening and it never closes any of its accepted or listening [one] sockets. It does not read from the sockets.

Definition in file vfer_test_server.c.


Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 30 of file vfer_test_server.c.


Variable Documentation

vfer_fd listen_skt

Definition at line 26 of file vfer_test_server.c.

int port

Definition at line 27 of file vfer_test_server.c.


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