X-1.4 Camiel Vanderhoeven 18-APR-2007 Faster lockstep mechanism (send info 50 cpu cycles at a time)
X-1.3 Camiel Vanderhoeven 31-MAR-2007 Added old changelog comments.
X-1.2 Camiel Vanderhoeven 28-FEB-2007 Fixed a silly bug (forgot to declare nAddressSize)
X-1.1 Camiel Vanderhoeven 28-FEB-2007 Created to support lockstep mechanism.
Definition in file lockstep.cpp.
#include "StdAfx.h"
#include "lockstep.h"
Go to the source code of this file.
Functions | |
| void | lockstep_init () |
| void | lockstep_sync_m2s (char *s) |
| void | lockstep_sync_s2m (char *s) |
| void | lockstep_compare (char *s) |
| void | lockstep_send (char *s) |
| void | lockstep_receive (char *s, int sz) |
Variables | |
| int | ls_Socket |
| char | ls_IP [30] |
| char | cmpbuffer [10000] |
| void lockstep_compare | ( | char * | s | ) |
Definition at line 165 of file lockstep.cpp.
References cmpbuffer, and ls_Socket.
Referenced by CSystem::SingleStep().
| void lockstep_init | ( | ) |
Definition at line 56 of file lockstep.cpp.
References INVALID_SOCKET, ls_IP, and ls_Socket.
Referenced by main().
| void lockstep_receive | ( | char * | s, | |
| int | sz | |||
| ) |
Definition at line 238 of file lockstep.cpp.
References ls_Socket.
Referenced by CTraceEngine::run_script().
| void lockstep_send | ( | char * | s | ) |
Definition at line 214 of file lockstep.cpp.
References ls_Socket.
Referenced by CTraceEngine::run_script().
| void lockstep_sync_m2s | ( | char * | s | ) |
Definition at line 111 of file lockstep.cpp.
References ls_Socket.
Referenced by CSystem::SingleStep().
| void lockstep_sync_s2m | ( | char * | s | ) |
| char cmpbuffer[10000] |
| char ls_IP[30] |
| int ls_Socket |
Definition at line 49 of file lockstep.cpp.
Referenced by lockstep_compare(), lockstep_init(), lockstep_receive(), lockstep_send(), lockstep_sync_m2s(), and lockstep_sync_s2m().