2
I’m doing a college project and I’m using an ESP8266 microcontroller. At first, I wanted to create a Socketserver and a Socketclient in Java, which would be able to both receive messages and send to each other, not need to have a multithread connection or anything like that, it could be a connection to a client only, what I need to do is this to illustrate the situation:
1 - Read an RFID card connected to ESP8266, connect to Socketserver and send this string containing the 8 characters of the RFID card presented to Socketserver.
2 - Socketserver receives these characters, and sends a response to the Socketclient, so it can handle my response on the other side accordingly.
However, as it involves Java and C (p/ Arduino programming) on the other side, I would like to make sure that this works first in Java(Server)-Java(Client). I researched several examples, but none of them meet my needs.