Thanks to visit codestin.com
Credit goes to github.com

Skip to content

zmq publisher can't use parallelly #140

Closed
@HansRobo

Description

@HansRobo

zmq publisher can't use parallelly, because tcp port is fixed as below.

zmq_->publisher.bind("tcp://*:1666");
zmq_->server.bind("tcp://*:1667");

If you try to use zmq publishers in parallel, you will get an error on the second and subsequent publishers.

terminate called after throwing an instance of 'zmq::error_t'
  what():  Address already in use

This problem makes me inconvenient when debugging multi-robots for example, RoboCup Soccer SSL.

Are there any plans to expand it to allow flexible port specification?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions