[lwip-users] Question regarding keep alive and more
From:
Chen
Subject:
[lwip-users] Question regarding keep alive and more
Date:
Thu, 12 Jul 2012 14:03:30 -0400
Hi all,
I have LWIP_TCP_KEEPALIVE enabled, and I am using
lwip_send(clientfd, databuffer, datacount, 0) to send out data
At 200kb/s and full-size packet, lwip_send will failed once a while
At this point, how can I tell if the failure is from broken line (keep
alive failed) or out of tx buffer? if it is out of tx buffer, anyway to
get the warning first so that I can send out a smaller packet
first?