Hello @Adwait Naik ,
welcome to this moderated Azure community forum.
You have two clients connected to the same SignalR hub.
You want to send a message from one client to another.
Have you considered sending a message to the hub first?
You can use the hub for sending the message to the other client (if you know the id) or multiple clients (and have the filtering done in all clients), or even create groups?
Check out the basic chat example of SignalR for more details. Take some time to experiment what method is the best for you.
If you use the SDK of your language, the functionality offered is the same in any language.
Check this page with information about the clients available (eg. .Net client and Javascript client) .
This page offers an example running the Java script client.
If the response helped, do "Accept Answer". If it doesn't work, please let us know the progress. All community members with similar issues will benefit by doing so. Your contribution is highly appreciated.