Arduino As TCP / IP Server.

Hi all,

I would like to do a project of Server - Client communication which communicates using TCP/IP Protocol.

Here i like to config arduino as TCP server which replies clients query.

Arduino connected with ENC28J60 module via SPI and also connected with Serial Port of PC.

Currently am trying to display the incoming and outgoing messages on Serial Monitor.

I gone through some examples of Ethernet Library 1.1.2. But in that i could not find out or not identified example of TCP IP server. More over am not using a WEB Page. And i did not understand how to send reply to a coming query( to the client who send query).

Can i notify the replying length while sending reply?

Kindly help me to solve the issue.

-Nikhil

with ENC28J60 use UIPEthernet library. see AdvancedChatServer example

Thank you for your support Juraj.

Does it follows TCP/IP protocol?

What about Ethernet Library ChatServer?
Can i interface with ENC28J60 with Arduino using Ethernet Library?

nikhilvv07:
Can i interface with ENC28J60 with Arduino using Ethernet Library?

no, but UIPEthernet library has the same API, implementing Arduino Server and Client classes

Thank you very much Sir.

I will try with UIPEthernet library.

I hope it supports TCP/IP protocol too.

Thanks again.