Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Socket Timeout Value? #160
Description of issue
Can you please tell how the TCP socket parameter/ timeout and retry logic, if possible?
Packet Sender has special logic to continue reading as long as the device continues to send data. There are also various settings Packet Sender supports such as delay-before-send, and delay-before-read. Embedded devices can be very slow to respond once connected. My advice is to place random delays between each step and keep reading until you get something.
The bulk of Packet Sender's TCP logic is inside tcpthread.ccp