sdk.lusid.extensions.tcp_keep_alive_connector.adjust_connection_socket

adjust_connection_socket(conn)[source]

Adjusts the socket settings so that the client sends a TCP keep alive probe over the connection. This is only applied where possible, if the ability to set the socket options is not available, for example using Anaconda, then the settings will be left as is.

Parameters:
  • conn – The connection to update the socket settings for

  • protocol (str) – The protocol of the connection

Returns:

None