krishnapvr

Configure input/Geoevents service in GeoEvents manager

Discussion created by krishnapvr on Aug 26, 2013
Latest reply on Aug 27, 2013 by krishnapvr
Hi,

This may be simple question but I spend last 2 days to fix it without success.

1) I have created input with 'Receive Text on Tcp Socket' in ArcGIS GeoEvents Manaher which is working fine with simulator but
when I send text from my c# application, it is sending successfully but GeoEvents monitor doesn't show it and I am not seeing it in output either.

The following is the code I am using to send meassage from my app

Socket soc = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp);
System.Net.IPAddress ipAdd = System.Net.IPAddress.Parse("localhost");
System.Net.IPEndPoint remoteEP = new IPEndPoint(ipAdd, 5565);
soc.Connect(remoteEP);
byte[] byData = System.Text.Encoding.ASCII.GetBytes("Vehicle,123,Truck,15,2012-07-24T08:00:00,'-117.198361,34.055581'");
int status = soc.Send(byData);

Can anyone please help me what wrong I am doing?

Thanks,
Krishna

Outcomes