-->
Page 1 of 1

Need to set espconn_regist_time

PostPosted: Tue Apr 05, 2016 11:50 am
by Branks
Hi!
So I'm trying to create a persistent socket connection to a server, and it keeps disconencting after a few seconds.
I've read around and found a method called espconn_regist_time, which is in the file espconn.h. But I cannot work out how to call this method, as it requires an object of type "espconn", which I've not come across before.
I am just using the standard ESP8266WiFi.h and then using WiFiClient with
Code: Select allclient.connect(server, 9090)

I feel like I'm missing something here. Any help would be hugely appreciated