Changes between Version 9 and Version 10 of Documentation/Tutorial/PingPong


Ignore:
Timestamp:
Jan 21, 2009, 8:55:16 AM (15 years ago)
Author:
huebsch
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Documentation/Tutorial/PingPong

    v9 v10  
    103103}}}
    104104
     105First we include the .h file, define the namespace, turn logging functionality on (line 07) and set the ID of the Service. Every service using ''Ariba'' is connected to a specific ID that may be chosen initially and arbitrarily. This ID serves ''Ariba'' to distinguish between several services that may use it concurrently. Via ''setMode'' (lines 16-18) one can indicate which node in the example should start the packet sending process. This method is called in main.cpp after getting this information from the config file.
     106 
    105107
    106108
     109