Using the perl socket function, when I attempt to make a sock_stream connection, and DON'T receive a ACK or RST response, I think it's part of the tcp protocol to try and resend the SYN packet. It does this a number of times at a specific #seconds interval. After some finite number of retries, it gives up.
Is there a way I can change the interval time for SYN retries, or decrease the number of times it retries? I would imagine this would be dependent on the particular tcp/ip stack implementation of my OS. I'm using FreeBSD and would imaging some kernel sysctl variable would control this... Any ideas? Or perhaps it's a socket option? Thanks! --Ben
