traintracks-sdk/SdkClass.cpp
// used to close down the system and insure everything iis sent

used to close down the system and insure everything iis sent
used to close down the system and insure everything iis sent
int SdkClass::EndPost()
{
	while(SdkClass::TheDataFieldsList.size() >= 0)
	{
		SendBlock();
		try {
			SdkClass::TheDataFieldsList.clear();
		}
		catch(...)
		{
			std::wcout << L"EXCEPTION on SdkClass::TheDataFieldsList.clear();";
			return -1;
		}
	}
	return 0;
}
int SdkClass :: EndPost ( ) { while ( SdkClass :: TheDataFieldsList . size ( ) >= 0 ) { SendBlock ( ) ; try { SdkClass :: TheDataFieldsList . clear ( ) ; } catch ( ... ) { std :: wcout << L" " ; return -1 ; } } return 0 ; }
used to close down the system and insure everything iis sent
used to close down the system and insure everything iis sent
// clear the send buffer for next set
 // clear the buffer
