NetMQ.Zyre.Zyre.SetPort C# (CSharp) Method

SetPort() public method

Set UDP beacon discovery port; defaults to 5670, this call overrides that so you can create independent clusters on the same network, for e.g. development vs. production. Has no effect after Zyre.Start().
public SetPort ( int port ) : void
port int the UDP beacon discovery port override
return void
        public void SetPort(int port)
        {
            _actor.SendMoreFrame("SET PORT").SendFrame(port.ToString());
        }