notify.cc File Reference

A *very* simple example of a client server system. More...

#include <string>
#include <iostream>
#include "unix_buffer.H"

Include dependency graph for notify.cc:

Go to the source code of this file.

Functions

void send_notification (const string server, const string message)
void wait_for_notification ()
int main (const int argc, const char *const argv[])

Variables

const int server_port = 12365


Detailed Description

A *very* simple example of a client server system.

written 2004-02 by Thorsten Reinecke

compile with g++ -o notify notify.cc

usage:

Definition in file notify.cc.


Function Documentation

int main ( const int  argc,
const char *const   argv[] 
)

Definition at line 49 of file notify.cc.

References cout, endl(), exit(), send_notification(), and wait_for_notification().

Here is the call graph for this function:

void send_notification ( const string  server,
const string  message 
)

Definition at line 25 of file notify.cc.

References Cnetwork_connection_methods::connection_info(), cout, endl(), and server_port.

Referenced by main().

Here is the call graph for this function:

void wait_for_notification (  ) 

Definition at line 37 of file notify.cc.

References Cnetwork_connection_methods::connection_info(), cout, endl(), and server_port.

Referenced by main().

Here is the call graph for this function:


Variable Documentation

const int server_port = 12365

Definition at line 23 of file notify.cc.

Referenced by main(), send_notification(), CClientDynamicFactorFetcher::THREAD_fetch_DynamicFactors(), CClientPolynomFetcher::THREAD_fetch_polynom(), CClientRelation_Delivery::THREAD_transmit_Relations(), and wait_for_notification().


Generated on Wed Nov 7 23:30:11 2007 for Qsieve by  doxygen 1.5.4