Hi,
I write a Program to Received Socket program to Received data from Esp32. its works ok But for Receiving data inB4X I have to call Evetime
WiFi_Socket.Initialize("Wifi_socket")
WiFi_Socket.Connect(ServerIp,Port,5000).
Then Sub WiFi_Socket_Connected (Connected As Boolean) & Sub TcpStreams_NewData (Buffer1() As Byte) take 2 to 3 Second .
I have to used timer every 4 sec to execute sub. I want to send & Received Data in Real time & why i have to initialize Socket every time Can someone Guide how can I do.
Kindy Guide in my program as I am new user its difficult to understand Complex Programs.