user2638109
user2638109

Reputation: 319

Autobahn Websocket: listen to local port and transfer messages to clients connected to a public port

I'am new to Autobahn and Websockets. I'm trying to build the following setup:

Is it possible to write the mainservice with Autobahn listening on one port and delivering messages over another port? (From a performance view it might be better to combine the processing and the mainservice...but that shouldn't be the point here.)

Upvotes: 2

Views: 666

Answers (1)

oberstet
oberstet

Reputation: 22051

Sure, you can run multiple services on different ports or you can run multiple services on 1 port. For the latter, see here. For the former, just create multiple factories and call listenWs multiple times.

Upvotes: 1

Related Questions