Fix TCPKeepAlive to work on non Windows Platform

Description

Our current code uses Socket.IOControl which doesn't work on Linux.

Instead use socket.SetSocketOption, this is made available in all dotnetcore and standard versions.

source : https://github.com/dotnet/runtime/issues/24041
socket.SetSocketOption

Environment

None

Gerrit Reviews

None

Release Notes Description

None

Activity

Show:
Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Labels

Story Points

Components

Fix versions

Affects versions

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created May 7, 2020 at 4:40 AM
Updated May 12, 2020 at 12:14 AM
Resolved May 12, 2020 at 12:14 AM
Instabug