Skip to content
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

websocket-tcp-chat does not open TCP listener #115

Closed
therealprof opened this issue Apr 17, 2019 · 0 comments · Fixed by #118
Closed

websocket-tcp-chat does not open TCP listener #115

therealprof opened this issue Apr 17, 2019 · 0 comments · Fixed by #118

Comments

@therealprof
Copy link
Contributor

Not sure it's a bug in the example, in Actix or on my Mac but I cannot get the example to listen on TCP port 12345. session::TcpServer::new is never executed for some reason.

With the following change it works:

-    Arbiter::new().exec(move || {
-        session::TcpServer::new("127.0.0.1:12345", srv);
-        Ok::<_, ()>(())
-    });
+    session::TcpServer::new("127.0.0.1:12345", srv);
therealprof added a commit to therealprof/examples that referenced this issue May 8, 2019
Fixes actix#115

Signed-off-by: Daniel Egger <daniel@eggers-club.de>
therealprof added a commit to therealprof/examples that referenced this issue Jan 27, 2020
Fixes actix#115

Signed-off-by: Daniel Egger <daniel@eggers-club.de>
JohnTitor pushed a commit that referenced this issue Jan 27, 2020
Fixes #115

Signed-off-by: Daniel Egger <daniel@eggers-club.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant