Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UDP Binding with configurable receive port #11

Open
ebsevon opened this issue May 27, 2020 · 0 comments
Open

UDP Binding with configurable receive port #11

ebsevon opened this issue May 27, 2020 · 0 comments

Comments

@ebsevon
Copy link

ebsevon commented May 27, 2020

I am using this MBus implementation with the UdpBinding:

            var serializer = new MeterbusFrameSerializer();
            endpoint = new IPEndPoint(IPAddress.Parse(Address), Port); 
            binding = new UdpBinding(endpoint,serializer);
            binding.Error += Binding_Error;
            binding.IoCompleted += Binding_IoCompleted;
            master = new MBusMaster(binding);
            master.Meter += Master_Meter;

I am interacting with a Moxa (TCP to Serial) converter to read one MBUS Device. This device send the data to fix port. So I have to configure the receiving (listening) port additionally to the IPEndpoint.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant