Skip to content

What role does ZMQ play in services? #4858

Answered by zach2good
FFXI-Dev asked this question in Q&A
Discussion options

You must be logged in to vote

We use ROUTER/DEALER sockets between our different processes. xi_world holds the ROUTER and the other processes each have a DEALER.

The port is defined in the settings under network.ZMQ_PORT. All the processes read from and use this setting, so you can change this if you want .There's little need to unless you have other unrelated ZMQ things happening on that port.

You can find the central hub of our ZMQ messaging here: https://github.com/LandSandBoat/server/blob/base/src/world/message_server.cpp#L360

and for the other processes:
https://github.com/LandSandBoat/server/blob/base/src/map/message.cpp#L904

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@FFXI-Dev
Comment options

@zach2good
Comment options

Answer selected by zach2good
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants