I just finished my Arduino web server and it works but I don't think I'm using it to its full potential. I just have two questions.
What can the line "#define BUFSIZ 100" be set to for maximum performance?
The Arduino Ethernet Shield SD I'm using says it can support 4 simultaneous socket connections, what does this mean? I'm not an IT person so I wouldn't know.
*I'm using the Arduino UNO with Ethernet Shield SD
BUFSIZ controls how much data can be in the GET request that a client makes. If the client requests are only in the form of http://your.arduino.server.address/someFileName.htm
the GET request will contain only the name of the file to get, so the buffer can be small.
The number of simultaneous connections is haw many requests the server can handle, before reporting that the server is busy.
If you are the only one accessing your server, you will have a hard time maxing out the number of connections made to the server.
If your server were serving google.com, you can imaging that more than 4 people might be trying to access your server at once, so it should handle more than 4 connections. If you need to handle more than 4 clients at once, the Arduino is not the right tool.