Firmware version is: 1.24
In the scenario were I send data on the socket, perform the select loop for up to 30 seconds, and get a response from the server.
The closesocket call lasts 94 ms
A) send
B) enter a select loop
} 30 Seconds
C) receive
D) Close
E) return from close 94 Ms later
In the scenario were I send data on the socket, perform the select loop, but before there is a response from the server. I close the socket.
Then the closesocket call lasts 3.6 Seconds (see trace and pcap) How can I reduce this time?
A) send
B) enter a select loop - abort it after 10-15 Seconds
C) Close
D) return from close 3.6 Seconds later
Update:
The only work around that works is to do a dummy send of 1 byte right before the closesocket call.
TI, please respond!