Android Question Network library

Hakanunver

Member
Licensed User
Hii
We use On Android Network library for TCP/IP connections. Special device connect our android app and sended data , Our Android app if receive data need send to device Answers. This work but
My problem is this special device has fixed tcp timeout (500 ms), Our Network library When we use "Write" command ,same times send data 20 ms same times 50 ms sametimes more than 500 ms (randomly - all device work local network and I check packet times on Wire shark).. This write command add sended data on queue. How we can set this Network library sended real time ?
 
Last edited:

Hakanunver

Member
Licensed User
Yes not used prefix mode
And ping avarag e about 1 ms
I think maybe need network library set therad priority ?
 
Upvote 0

Hakanunver

Member
Licensed User
Sorry We send cmd app on windows ping execute.
You mean need ping packet send in from b4a app to device ? How we can send Ping on B4a ?
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…