ObjectTransport icon indicating copy to clipboard operation
ObjectTransport copied to clipboard

Problem with reception

Open tecsolucionesinformaticas opened this issue 5 years ago • 5 comments

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

Nima0912 avatar Sep 11 '20 08:09 Nima0912

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.

Nima0912 avatar Sep 11 '20 12:09 Nima0912