Problem with reception
I have a server that start a connection, afterwards I stablish a connection from client. An event on connection fires detecting connection from client. Afterwards I send an object like this:
DateTime m1 = new DateTime();
server.Send(m1);
and in client I use this code:
connection.Receive<DateTime>(m =>
{
System.Console.WriteLine(m.ToString());
}).Execute();
but it never fires the event after the server sends the object. I don't know if it is not sending or if it is not receiving. i know connection is stablished. Any Ideas how to debug it?
I am using 127.0.0.1 could that be a problem? I also tried with my own local IP: 192.168.50.100 it doesn't make a difference. With RawCap (Like wireshark but for loopback) I can see a System.DATETIME sent so I guess it's sending but not receiving
Demo project doesn't receive. I think it's a problem with event in charge of receiving data
the same issue here
Demos\Messenger works fine as one application but two instance. But it does not work, if i copy your Demos\Messenger code into two applications (server side and client side) and run them afterwards.