locked
asynchronous remoting questions

    Question

  • Hello,

    I have a couple of questions on asynchronous remoting.  the first one is are the callbacks only called when the remote function on the "server" is done executing or is it possible to call the callback anywhere inside the remote method?

    my second question is regarding delegates and remoting...is it possible for the server to make a call to the client when some event occurs during execution?

    thanks!
    -ken
    Friday, May 27, 2005 2:43 PM

Answers

  • Hi,

    You can use return, to get back whereever you want to from the function thereby make sure the callback is called.

    The only way for the server to make a call to the client, is if the client also acts as a Remoting Server. This can be achieved easily. You just have a client to host a remoting object which the server can call.

    Regards,
    Vikram
    Wednesday, June 01, 2005 6:18 PM