Main Page   File List   File Members   Related Pages  

frdi_client_connections.c File Reference

handle threads and sockets More...

#include "frdi_client.h"

Functions

frdi_connection * frdiClientServerConnectionNew (frdi_client_app *self, frdi_application *remote)
void * frdiClientServerConnectionRecieve (void *arg)
void * frdiClientUserConnectionRecieve (void *arg)
void frdiClientConnectionClose (frdi_connection *connection)
void * frdiClientUserListenerSpawner (void *arg)
void frdiClientUserListenerWaitStop (frdi_client_app *self)
void frdiClientUserListenerTellStop (frdi_client_app *self)
void frdiClientUserListenerTellStart (frdi_client_app *self)


Detailed Description

handle threads and sockets

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

Function Documentation

frdi_connection* frdiClientServerConnectionNew frdi_client_app *    self,
frdi_application *    remote
 

connect to a named fairdice server app

void* frdiClientServerConnectionRecieve void *    arg
 

recieve a message from a client-server connection

void* frdiClientUserConnectionRecieve void *    arg
 

recieve a message from a client-user connection

void frdiClientConnectionClose frdi_connection *    connection
 

on closing the connection, free the stuff we created

void* frdiClientUserListenerSpawner void *    arg
 

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

void frdiClientUserListenerWaitStop frdi_client_app *    self
 

wait for the user listener thread to stop

void frdiClientUserListenerTellStop frdi_client_app *    self
 

send a message to the user listener thread to stop

void frdiClientUserListenerTellStart frdi_client_app *    self
 

launch the thread for the user listener


Generated on Wed Aug 18 13:23:49 2004 for Project Fairdice by doxygen1.2.18