Reading coils in modbus protocol [closed] - c#

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I am doing a project in modbus, i framed the request for reading coils in TCP,but i dont know how to do it for serialport can anyone help to frame this.

It seems you're using C#. In this case, I suggest you to use the nmodbus library.
It's open source and allows you to perform any Modbus operation via both TCP and serial protocol.

Related

can We connect to multiple IP using socket.Connect() with UDP - C# [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 days ago.
Improve this question
That title was describe. I want to know is this code valid ?
socket.Connect(IPEndpoint1);
socket.Connect(IPEndpoint2);
I am using UDP
Also what is solution for a chat program. I want the host be client+server and all other members are client. I try to using TCP but i cannot connect while the IP was dynamic. Must we use UDP ?

Multiple commands to a GSM 3G modem [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I'm using C# to command a GSM/GPRS modem via a serial port.
Can I write the commands to the port one after another without a gap or should I wait for the response form the modem after the last command? Using something like Thread.Sleep.
I use it to send SMS to multiple phone numbers.
=======

How to show and block incoming UDP packets [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
How to show and block ip UDP incoming in c# WinForms.
Show ip and incoming packet in label like Anti DDOS Guardian
I made a similar application some years ago using WinpkFilter. I don't know if there is something better, but this gives you all that need to read all packets passing on network interface. Once you read the packets, you can check protocol type and make all operation you need to prevent DDOS.
You have to install the WinpkFilter driver and link the ndisapi.dll library, I suggest you to give it a try and see if this can help you.

How to send/receive a HTTP request in .NET [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
How to send/receive a HTTP request (it is good to give me a link)
http://msdn.microsoft.com/en-us/library/debx8sh9.aspx
Do you know what i typed into Google?
"c# .net send web request"
And this was the first result.
The simplest option is the System.Net.WebClient class, but that isn't always powerful enough to do what you need.

Zimbra API sample [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I have to create a module using c# to consume Zimbra Webservice (soap protocol)
I wonder if anybody has already done this kind of project (talking about the Zimbra part)?
Regards,
you can find it here:
http://zimbra.svn.sourceforge.net/viewvc/zimbra/trunk/ZimbraCSharpClient/
and how to use it ... here :
http://www.zimbra.com/forums/developers/14017-zimbra-csharp-client-library.html

Categories