TCP_SYNCNT for linux
prince-chrismc opened this issue · comments
Chris Mc commented
int syncnt = 1;
int syncnt_sz = sizeof(syncnt);
setsockopt(sockfd, IPPROTO_TCP, TCP_SYNCNT, &syncnt, syncnt_sz);
https://stackoverflow.com/a/1568495/8480874
https://stackoverflow.com/a/46473173/8480874