HI,
I'm working with Arduino UNO and WiFly shield.
I'm trying to connect to several domains by the WiFly shield and make a GET request to them (one by one) in purpose to test these servers status (my GET request is to a specific page, on the server, which returns OK)
Do you know a way to make GET requests to different servers by one WiFly shield?
What I got until now is:
I can easily connect to one server by one WiFlyClient and make a GET request and get a good answer.
when trying to deal with two domains (two servers):
in setup() I got two WiFlyClients connection which succeeded to connect.
in loop() The first client is successfully reads the answer of get request and the second reads empty string.
-it doesn't matter who is the first and which is the second the second always fail to read or is unavailable.
-the schema requires that client.connect() call will be inside setup() function and client.read() call will be on loop() function any other schema fails to read or read jibrish.
- I've got also Arduino MEGA if will be necessary, but it did not work with the WiFlyShield.
Thank you!
Einat.