Arduino as web server/client?

I see, i have it working and it deffo seems to be doing what i want.

Will have to have a good read through the code and get my head around it.

When a client connects, is that 1 socket used up??

Thanks
Andy