B4X FEED Wifi_socket receiving time more than 2sec

اطلاعات موضوع

درباره موضوع در تاریخ, در دسته b4xfeed ایجاد شده و آغاز کننده آن practicalsoftمی باشد و موضوع آن: Wifi_socket receiving time more than 2sec است. این موضوع تا کنون 24 بازدید کننده و, 0 پاسخ داشته و 0 بار پسندیده شده...
نام دسته b4xfeed
نام موضوع Wifi_socket receiving time more than 2sec
آغاز کننده موضوع practicalsoft
تاریخ شروع
پاسخ‌ها
0
بازدیدها
24
پسندها
0
آخرین ارسال توسط PracticalSoft
Jun 6, 2020
11,559
4,422
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.

 

عقب
بالا