alzomor
Advanced Member level 2
Hi,
I am using a mobile application Android/IOS to as a remote control for home Automation.
The mobile application opens a TCP socket for each command and send the command then close the TCP Socket.
connection is over WiFi and/or 3G
The problem is that the time latency for opening the socket is not deterministic, each time the applications opens the socket it take different time.and some times it's more than 5 Seconds.
Which is not comfortable for remote control application?
My Questions are
1-Is it normal that the TCP socket open process takes un-deterministic time?
2-Can I reduce this time?
3-Is it Possible to use UDP instead of TCP? IS it reliable for such application?
Regards
Hossam Alzomor
I am using a mobile application Android/IOS to as a remote control for home Automation.
The mobile application opens a TCP socket for each command and send the command then close the TCP Socket.
connection is over WiFi and/or 3G
The problem is that the time latency for opening the socket is not deterministic, each time the applications opens the socket it take different time.and some times it's more than 5 Seconds.
Which is not comfortable for remote control application?
My Questions are
1-Is it normal that the TCP socket open process takes un-deterministic time?
2-Can I reduce this time?
3-Is it Possible to use UDP instead of TCP? IS it reliable for such application?
Regards
Hossam Alzomor