Modifying TCP Parameters

I have a program that constantly transmits data over an unreliable connection. The connection goes up and down frequently. With the current configuration of TCP, once the link is re-established, it can take up to a minute to continue transmission. How can I either change my program (which uses bulk read() & write() commands) or change the networking implementation in the kernel to shorten the re-establishment time?
Who is Participating?
pjedmondConnect With a Mentor Commented:
This will probably help:

You need the sysctl:


This is normally set at about a minute, hence up to a minute to continue transmission.


may help with read()

mmm i think the correct section for that is linux programing. :)
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.