Quoc Dang Xuan(deleted)
|
socket send call getting blocked for so long
|
Quoc Dang Xuan(deleted)
11/01/2016 5:00 AM
post117044
|
socket send call getting blocked for so long
Hi,
Currently we're developing software on QNX for automotive.
I'm using sockets to communicate with another linux machine.
These two machines are installed into one unit and wired through an USB-ethernet interface.
Now I have an issue that send() is taking too long (about over 30 seconds) to return.
I found out that becoming full of TCP buffer is one of the cause, but they aren't sending so much data, i think.
Therefore, i'd like to know if there're other reasons causing this issue.
I guess that closing the tx socket from another thread at the same time with send() caused my issue,
but can't explain it clearly.
Please tell me your ideas.
Thanks a lot for your support.
Best Regards,
D.X.Quoc
|
|
|