rossmann-engineering / EasyModbusTCP.NET

Modbus TCP, Modbus UDP and Modbus RTU client/server library for .NET implementations
928 stars 402 forks source link

How to define server tcp address #10

Open qamaruddin opened 6 years ago

qamaruddin commented 6 years ago

Is there any way to initiate a tcp server on a fixed IP connection? I have browsed through the code and it seems that you don't use the ipaddress property of tcphandler while initiating the tcp server.

ghost commented 6 years ago

Hi there, Apologies for "butting in" on your question, but I put up a couple of questions 12 days ago and I still haven't had a response. It doesn't appear to be very active in here!

Would you mind clarifying the situation regarding the license? I'd love to use EasyModbus in my own apps., but what is required in terms of licensing?

Thanks Darren

rossmann-engineering commented 6 years ago

Hi qamaruddin,

actually the server listens to any incoming connection. I was Thinking about that in the past to allow only specific IP Addresses to connect to the Server.

I'll do this possibly in some future version. I leave this open.

rossmann-engineering commented 6 years ago

Dazzalogan, to your "issue". Actually you can see the used License at the front page.

https://www.gnu.org/licenses/gpl-3.0.en.html

qamaruddin commented 6 years ago

@rossmann-engineering I may be able to raise a pull request. No promise though.

da66en commented 3 years ago

50

Pull request to resolve this issue.