Author Topic: How to convert -- while(client.connected); ?  (Read 2412 times)

Techno

  • Newbie
  • *
  • Posts: 26
How to convert -- while(client.connected); ?
« on: March 15, 2014, 04:21:14 am »
Does DigiFi client have an equivalent statement?  I keep getting error:    "can not covert to boolean."

William

tastewar

  • Jr. Member
  • **
  • Posts: 50
Re: How to convert -- while(client.connected); ?
« Reply #1 on: March 15, 2014, 06:46:51 am »
I suspect you're wanting the return value from the connected function, not the address of it, so you must call the function. Try:

Code: [Select]
while(client.connected())