I don’t know if this question has been asked before, but why is the client class mostly used to set up the web server rather than the server class? It seems kind of odd to me.
The Server class is setup to wait for a connection. When it gets one, it sets up a Client class instance to actually let the Arduino talk to the computer on the other end. The big difference between a TCP server and a client is that the server waits for someone else to start the conversation. Once it’s going, both sides look the same.
ah i see thank you for clearing that up