user40640: 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 :)

user7924: 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:
https://stackoverflow.com/questions/20038943/simple-udp-example-to-send-and-receive-data-from-same-socket 
and
https://stackoverflow.com/questions/10182751/server-client-send-receive-simple-text

40640: <p>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 :)</p>
 7924: <p>You can use TCP or UDP protocols.</p>

<p><a href="https://www.arduino.cc/en/Tutorial/UDPSendReceiveString" rel="nofollow noreferrer">https://www.arduino.cc/en/Tutorial/UDPSendReceiveString</a></p>

<p><a href="https://www.arduino.cc/en/Tutorial/DhcpChatServer" rel="nofollow noreferrer">https://www.arduino.cc/en/Tutorial/DhcpChatServer</a></p>

<p>You can use free UDP, TCP port listener sofwares for Windows, Linux etc.. for testing your setup.</p>

<p>For C# development:</p>

<p><a href="https://stackoverflow.com/questions/20038943/simple-udp-example-to-send-and-receive-data-from-same-socket">https://stackoverflow.com/questions/20038943/simple-udp-example-to-send-and-receive-data-from-same-socket</a> </p>

<p>and</p>

<p><a href="https://stackoverflow.com/questions/10182751/server-client-send-receive-simple-text">https://stackoverflow.com/questions/10182751/server-client-send-receive-simple-text</a></p>
