I'm working on an Arduino project that sends and receives text to/from a C# application via ENC28J60 in a LAN network. Whenever C# sends a request to Arduino (In text), Arduino responds to it by sending also a text. What is the best way to do this? I'm newbie in network programming (Or whatever it's called). Thanls in advance :)
Asked
Active
Viewed 4,500 times
1 Answers
1
You can use TCP or UDP protocols.
https://www.arduino.cc/en/Tutorial/UDPSendReceiveString
https://www.arduino.cc/en/Tutorial/DhcpChatServer
You can use free UDP, TCP port listener sofwares for Windows, Linux etc.. for testing your setup.
For C# development:
and
https://stackoverflow.com/questions/10182751/server-client-send-receive-simple-text
user30878
- 112
- 1
- 8