TCP/IP Socket

Inherits from I/O Session class.

Long Name Description
TCP/IP Settings:No Packet Delay Specifies whether the Nagle algorithm is enabled. The Nagle algorithm is disabled when this property is TRUE (and vice versa). The Nagle algorithm improves network performance by buffering written data until a full-size packet can be sent. This property is TRUE by default in VISA to verify that writes get flushed immediately. Details
Message Based Settings:Suppress End Enable Specifies whether to terminate a read operation due to an END condition. This property is relevant only in VISA Read and related operations. Details
Message Based Settings:File Append Enable Specifies whether VISA Read To File appends or overwrites (truncates) when opening a file. If this property is set to TRUE, VISA Read To File appends when opening a file. If this property is set to FALSE, VISA Read To File�overwrites (truncates) when opening a file. The default is FALSE. Details
TCP/IP Settings:Computer Hostname Returns the host name of the device. If no host name is available, this property returns an empty string. Details
TCP/IP Settings:Port Number Returns the port number for a given TCPIP address. For a TCPIP SOCKET resource, this is a required part of the address/resource string. Details
Message Based Settings:IO Protocol Specifies which protocol to use. In VXI, you can choose normal word serial or fast data channel. In GPIB, you can choose normal or high-speed HS-488 transfers. In serial, TCP/IP, or USB, you can choose normal transfers or 488.2-defined strings. In USBTMC, you can choose normal or vendor-specific transfers. The default is Normal. Details
TCP/IP Settings:Dot-Notation Address Returns the TCPIP address of the device to which the session is connected. This string is formatted in dot notation. Details
TCP/IP Settings:Keep-Alive Packets Specifies whether to use keep-alive packets on TCP connections. Setting this property to TRUE requests that a TCP/IP provider enable the use of keep-alive packets on TCP connections. After the system detects a dropped connection, VISA returns a lost connection error code on subsequent I/O calls on the session. The time required for the system to detect the dropped connection depends on the system and is not settable. The default is FALSE. Details
Message Based Settings:Termination Character Specifies a character that, when read, causes a read operation to terminate. The termination character also must be enabled. This default is 0x0A (linefeed). Details
Message Based Settings:Termination Character Enable Specifies whether a read operation terminates when it receives the termination character. The default is FALSE. Details
Message Based Settings:Send End Enable Specifies whether to send an END indicator on the last byte of each write operation. This property is relevant only in VISA Write and related operations. The default is TRUE. Details