I've recently bought the elegoo smart robot car and I want to control using a custom website or make an app for it. I'm new to Arduino but I have some coding experience with Java and Python.
Can someone please explain what the below code means and help me with building the website/app .
public const string SocketAddress = "192.168.4.1";
public const int SocketPort = 100;
Networking makes, at a higher level, use of IP addresses and ports. That is what those two lines represent.
You have a server that has an address (in your case 192.168.4.1) and an application on that server (e.g. a webserver application) listens on a port (in your case 100) for incoming messages.
Your smart robot will act as a server and your browser will act as the client; I don't think that the other way around will work.