EtherCard icon indicating copy to clipboard operation
EtherCard copied to clipboard

How to handle multiple sessions?

Open Trellian opened this issue 1 year ago • 0 comments

Hello,

I am trying to send data to ThingSpeak, and also ping a local device in the same loop (and periodically get time via NTP)

ThingSpeak obviously needs a TCP Session, but pinging the local device is only an ICMP request and reply

How best to manage the three different IP addresses? Can i just do a parseIp(ether.hisip, ONE_OF_THREE_IPs) call each time, or is other setup required?

Thank you!

Trellian avatar Oct 09 '23 10:10 Trellian