bert.cpp icon indicating copy to clipboard operation
bert.cpp copied to clipboard

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

Open ZTAP0011 opened this issue 1 year ago • 1 comments

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?

ZTAP0011 avatar Mar 13 '24 08:03 ZTAP0011

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

skeskinen avatar Mar 13 '24 14:03 skeskinen