Main Page   File List   File Members   Related Pages  

frdi_server_connections.c File Reference

handle threads and sockets More...

#include "frdi_server.h"

Functions

void * frdiServerClientConnectionRecieve (void *arg)
void * frdiServerHostConnectionRecieve (void *arg)
void frdiServerConnectionClose (frdi_connection *connection)
void * frdiServerClientListenerSpawner (void *arg)
void * frdiServerHostListenerSpawner (void *arg)
void frdiServerClientListenerWaitStop (frdi_server_app *self)
void frdiServerHostListenerWaitStop (frdi_server_app *self)
void frdiServerClientListenerTellStop (frdi_server_app *self)
void frdiServerHostListenerTellStop (frdi_server_app *self)
void frdiServerClientListenerTellStart (frdi_server_app *self)
void frdiServerHostListenerTellStart (frdi_server_app *self)


Detailed Description

handle threads and sockets

Author:
Douglas Reay <douglas-legal@reay.org>
Warning:

Function Documentation

void* frdiServerClientConnectionRecieve void *    arg
 

recieve a message from a server-client connection

void* frdiServerHostConnectionRecieve void *    arg
 

recieve a message from a server-host connection

void frdiServerConnectionClose frdi_connection *    connection
 

on closing the connection, free the stuff we created

void* frdiServerClientListenerSpawner void *    arg
 

called in its own thread when the Client listener receives a connection

void* frdiServerHostListenerSpawner void *    arg
 

called in its own thread when the Host listener receives a connection

void frdiServerClientListenerWaitStop frdi_server_app *    self
 

wait for the client listener thread to stop

void frdiServerHostListenerWaitStop frdi_server_app *    self
 

wait for the host listener thread to stop

void frdiServerClientListenerTellStop frdi_server_app *    self
 

send a message to the client listener thread to stop

void frdiServerHostListenerTellStop frdi_server_app *    self
 

send a message to the host listener thread to stop

void frdiServerClientListenerTellStart frdi_server_app *    self
 

launch the thread for the client listener

void frdiServerHostListenerTellStart frdi_server_app *    self
 

launch the thread for the host listener


Generated on Wed Aug 18 13:24:05 2004 for Project Fairdice by doxygen1.2.18