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

Is it possible to make multiple socket connection at the same time from same machine. #44

Open
ZTAP0011 opened this issue Mar 13, 2024 · 1 comment

Comments

@ZTAP0011
Copy link

We ran one fast api on a machine on two different port. The API make socket connection to the bert.cpp socket server. In this only first app is connected and when second is started it just hangs after the socket.connect method.
Is it possible to make multiple socket connection at the same time from same machine?

@skeskinen
Copy link
Owner

You need to have a new socket (and a thread) for each incoming connection.

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

No branches or pull requests

2 participants