Examples/TcpReassembly/main.cpp
/**
 * The callback to be called when application is terminated by ctrl-c. Stops the endless while loop
 */
The callback to be called when application is terminated by ctrl-c. Stops the endless while loop
The callback to be called when application is terminated by ctrl - c . Stops the endless while loop
static void onApplicationInterrupted(void* cookie)
{
	bool* shouldStop = (bool*)cookie;
	*shouldStop = true;
}
static void onApplicationInterrupted ( void * cookie ) { bool * shouldStop = ( bool * ) cookie ; * shouldStop = true ; }
The callback to be called when application is terminated by ctrl-c.
The callback to be called when application is terminated by ctrl - c .