-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EmitAsync doesn't work #134
Comments
Make sure that the OnConnected event is triggered. client.OnConnected += async (a, b) => {
Console.WriteLine("OnConnected");
await client.EmitAsync("hi", "Je suis connecté");
};
await client.ConnectAsync(); You can add a log or detect whether an event is triggered by a breakpoint. |
Yes is triggered but not the emit ;( The problem does not come from the fact that it is asynchronous ? |
Can you provide a reproducible github repo, including socket.io server and client? |
Yes no worries, just before I will try to deploy it on my server and do some test, then I will put it on a github repo. |
+1 Problem |
Please provide more information |
I've check back my server config and this problem was resolved. |
I still have the same problem, the emitasync is not working, is it because I am local? I add you one to a github repo doghappy. |
Thanks !! it works, on the other hand I cannot do an emitAsync outside : client.OnConnected += async(a,b) => { } |
I pushed a commit. When the client connects/disconnects, the ip list of the html interface will be updated |
Hello,
When I do an EmitAsync of an event to receive it in my nodeJS server I get nothing no events go off, I have tried all of them, do you have a solution to make this work?
C# :
NodeJS :
The text was updated successfully, but these errors were encountered: