I have a device which claims to communicate via TCP/IP in either client or server mode.
It should communicate using ASTM or HL7 communication protocol.
I have a simple question.
Is there an easy way to set up the Arduino with Ethernet shield to act like a server, and responds to requests with an ?
I want the the Arduino to listen on a specific port, and when it receives a byte(05) - or , I want it to respond with byte(06) or - and monitor all communication in between…
Not sure if anyone has a library or site which explains how to do this? Or even if it is possible??
And will I need a network hub or switch to accomplish this task or can I connect the device directly to the ethernet shield using a CAT5 cable??
Any insight would be greatly appreciated.