Arduino as web server/client?

Morning, thanks for the help, i understand that now.

One thing im still unsure of is using the code you led me to here: Server on Arduino Ethernet fails - #27 by SurferTim - Networking, Protocols, and Devices - Arduino Forum

how does that act a server and client. For instance, I can see how that can see me connect as a client and understand a command i give. But what i i want to send it a command and then the arduino to process that and start sending data to another page on a server, not back to the client?

Essentially what im trying todo is to be able to send a command to the arduino, the arduino sets a flag and starts sending data to a URL, NOT back to the client.

Thanks
Andy