QuickStart guide to EAEP

Broadcast EAEP Message with parameters

const int port = 6000;
const int timeToLive = 1;
const string multicastGroupAddress = "239.192.11.11";

var multicastSettings = new MulticastSettings(multicastGroupAddress, port, timeToLive);
var eaepBroadcaster= new EAEPBroadcaster("host", "application", multicastSettings);

eaepBroadcaster.LogEvent("eventName", 
          new EventParameter("paramName1", "paramValue2"),
          new EventParameter("paramName2", "paramValue2"));

Last edited Aug 9, 2010 at 3:45 PM by andrewcropper, version 14

Comments

No comments yet.