Home Forums Support SendReceiveObject has not overload for send an object on 3.x

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #3014
    Anonymous
    Inactive

    Hi, I was using the version 2, now I bought the version 3.

    On the version 2 I can do the next:

    int tiempoEspera = 10000;
    int idAutobus = 1;
    var existePeticion = TcpConnection.SendReceiveObject<bool>("PreguntaCaptura", "RespuestaCaptura",
                                                               tiempoEspera, idAutobus);

    But with version 3 I can not do it and I really need send this integer to the server.

    • This topic was modified 9 years, 7 months ago by .
    • This topic was modified 9 years, 7 months ago by .
    #3018
    Anonymous
    Inactive

    I read the documentation and in the version 3 is in this way:

    int tiempoEspera = 10000;
    int idAutobus = 1;
    var existePeticion = TcpConnection.SendReceiveObject<int, bool>("PreguntaCaptura", "RespuestaCaptura",
                                                               tiempoEspera, idAutobus);
    • This reply was modified 9 years, 7 months ago by .
    #3021
    Anonymous
    Inactive

    Glad you found the correct solution.

    Regards,
    Marc

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.