* full copyright notice. *
**************************************************************************/
+#include <RVersion.h>
#include <stdlib.h>
#include <zmq.hpp>
delete minilist;
if (messinfo.GetStreamerInfos())
messinfo.GetStreamerInfos()->Clear();
-
+#if ROOT_VERSION_CODE < ROOT_VERSION(5,99,0)
messinfo.SetLength();
+#endif
int bufsize = messinfo.Length();
char* buf = (char*) malloc(bufsize * sizeof(char));
TMessage::EnableSchemaEvolutionForAll(kTRUE);
SendStreamerInfos(&tmess, socket);
+#if ROOT_VERSION_CODE < ROOT_VERSION(5,99,0)
tmess.SetLength();
-
+#endif
int bufsize = tmess.Length();
char* buf = (char*) malloc(bufsize * sizeof(char));
memcpy(buf, tmess.Buffer(), bufsize);