locked
How to find hub connection id of another client RRS feed

  • Question

  • User-1461245458 posted

    Hi,

     I am very new to SignalR.

    I am working on chat application.

    I want to chat with one particular client.

    To chat with particular client,

    I have to do like that

    Clients.Client(connectionId).addChatMessage(name + ": " + message);

    I can collect all connection id and send message to particular connection.

    But Suppose, There are three persons A,B, C

    All are connected.

    In A screen, B and C are looking.

    To send message from A to B. A should has knowledge which connection id belongs to B.

    So How A can find hub connection id of B. 

    If you didn't understand my problem please say to me.

    Please help me.

    Its urgent

    Thanks in Advance

    Monday, April 24, 2017 9:51 AM

All replies