Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 1 year ago.
Improve this question
Does anyone know if there is a free tool for testing TCP/IP socket communications?
I am developing code to connect to an industrial printer which uses TCP/IP comms. and would like to get started prior to actually having the hardware.
It would be great if there was either a tool I could install locally on Windows10 or even an free online tool that I could send packets to and have echo back or display the bytes I sent, etc.
You can start a local server using netcat. Try running nc -l -p 1234 to listen on port 1234.
You can also write a simple C# application that listens for socket connections, accepts them and prints them on the console.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
Is there any way to get data from consul server, without having agent running on my machine. Could I make the C# code interact directly with consul server instead of using the running agent on my machine.
Also if anyone used consul in c# before, can you recommend any documentation, because I couldn't find any so far.
You can easily get any data from remote consul instance via it's HTTP API. You can find a list of client implementations here.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
Does anyone know any good free sms gateway which can be accessed using the C# client?
I also need some C# sample wrappers for interacting with the sms gateway for sending and receiving the SMSs.
Thanks in advance.
S.
Have a look at these gateways:
http://www.intellisoftware.co.uk/sms-gateway/
http://www.ozekisms.com/
http://www.redoxygen.com/developers/c-sharp/
You could also use https://codecanyon.net/item/wordpress-sms-gateway/16935285
From what I understand, it's a full SMS Gateway you can install in your WordPress website and use from any other website with CURL. The SMS messages are sent by Android devices you connect to your WordPress website.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I have some application that communicates via a RS-232 serial port.
Is there some application or library that I can use to send data to a local serial port?
I need it to be able to locally debug my application.
If your looking to virtulize a serial port in code, then this will do the trick for you.
http://com0com.sourceforge.net/
As for .NET code, then the "SerialPort" class is incredibly easy to use, a good reference (Iv'e used many times) can be found here.
http://msmvps.com/blogs/coad/archive/2005/03/23/SerialPort-_2800_RS_2D00_232-Serial-COM-Port_2900_-in-C_2300_-.NET.aspx
Using the .NET serial class, you can do what you need in very few lines of code. Be aware though, you WILL need to use delegates to update your UI.
There are plenty of options when it comes to sending through RS232. Here are some applications that may help you to sent data using RS232:
RS232 Hex Com Tool -which is a serial software terminal program that can be used to communicate with just about any RS232 peripheral.
COM Port Data Emulator -it can create a data flow, wrap it to data packets (RS232, TCP/IP or UDP) and send to a port.
Serial Port Monitor - which also may be helpful with your problem.
Anyway, its up to you what you will choose. Good luck!
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I'm looking for a way to listen on a specific port as a VNC server, then be able to send whatever I want to the connected VNC client.
There's a lot of VNC client components, but I've not yet found a .net VNC server component.
I intend to use this to allow a client to connect directly to my windows form (and only the form, so they don't see any desktop, just my window). I realise this would normally cause input issues, but I will be forcing the clients to connect in view-only mode.
I'm very familiar with the various User32/Gdi32 platform APIs for capturing a window's contents to an image, so if it's a case of writing image data to a VNC server stream, that's fine too.
Where should I start? Is there an existing VNC server component that does what I'm describing? If not, is anyone aware of a RFB protocol component that makes it easier to communicate with a VNC client, perhaps even performing the image diff and sending only the changes?
It isn't a component, but Alkit VNC does seem to do what you're asking, which is share a single window using a VNC server. The source is available, too.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
Does anyone knows of any .Net library or resources that will assist me to implement a TCP port scanner?
For simple one, that will just try to connect to each port and report success / failure, without any "tricks", like sending only ACK packets etc. - you won't need anything else than System.Net and System.Net.Sockets, create socket, try connecting to a host, check if you have succeeded. For better performance, you can create more sockets, and use asynchronous approach (BeginConnect/EndConnect).
I found some example codes.
http://www.geekpedia.com/tutorial142_Creating-a-Port-Scanner-with-Csharp.html
http://www.dijksterhuis.org/building-a-simple-portscanner-in-c/
WinPcap is a network monitoring and packet capturing tool but it might be also useful because it is another way to get an idea about network transmissions. But it may not suit to your requirement.
You can try my open source program here ;)
http://dercousin.xhost.ro/index.php?option=com_content&view=category&layout=blog&id=35&Itemid=53
You can use Pcap.Net to create and send raw packets.
You can also capture packets using this framework.
It includes a packet interpretation and creation framework so it should be pretty easy to create the packets you need to scan the ports and to parse the packets returned.