Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - socket send call getting blocked for so long: Page 1 of 5 (5 Items)
   
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