I'm currently using the API for receiving alerts from my ARSystem. I followed the example as shown in the documentation - AlertReceiver.BeginReceive() and enabled logging on the ARSystem. It seems like the AlertReceiver is stuck on AcceptTcpClient and the ARSystem gives up on trying to send any alert to my test app.
So, I tried a work around. I created a TcpListener and use the Server.RegisterForAlerts. When I receive a connection or any message, I simply send an acknowledgement in the form:
client.Client.Send( Encoding.ASCII.GetBytes( "ack" ) );
This seems to work and I'm able to continue to receive alerts. However, I need help in decoding the bytes I am receiving. All I can decipher from it is that the first 4 bytes seems to be some contants while the next 4 bytes seems to be the length of the entire message received.
Do you by any chance knows what the message format for those alerts?
Is there any plans, that BMC will officially support .NET API? Who is the author of .NET API?
On windows .NET is today main development platform for Web.