Hi,
I am building a simple showcontroller from an arduino with an ethernetshield, using pjlink to switch on/off projectors and powerswitches. This works for one projector, and also for more projectors on different IP's. BUT my question is:
I use:
Ethernet.begin(mac, ip);
to start the connection,
then I proceed
if (client.connect(serv, 4352)) {
Serial.println("connected to projector....");
// send command to projector
client.println(command);
if this is succesfull (it usually is) then I proceed to the next computer. Why do I have to start with
Ethernet.begin(mac, ip);
again for the next projector? As I figure the arduino is still connected? After 30 secs the first projector will quit the connection. Does this mean I have to use Ethernet.begin again to start a new clientconnection to another IP?
Hans