Keysight VISA.NET Help
KeepAlive Property (TcpipSocketSession)



If true, the TCP/IP provider enables the use of keep-alive packets on TCP connections.
Syntax
'Declaration
 
Public Property KeepAlive As Boolean
'Usage
 
Dim instance As TcpipSocketSession
Dim value As Boolean
 
instance.KeepAlive = value
 
value = instance.KeepAlive
public bool KeepAlive {get; set;}
public:
property bool KeepAlive {
   bool get();
   void set (    bool value);
}
Remarks

If a connection is dropped as a result of "keep-alives," any current or subsequent I/O calls on the session will throw an exception.

Requirements

Current with Keysight IO Libraries Suite 18

See Also

 

 


© Keysight Technologies 2015-2025