Com return values, Serverdirect.serverworkdir, Name – Campbell Scientific LoggerNet-SDK Software Development Kit User Manual
Page 67: Description, Serverdirect.tcpport

Section 14. CsiServerDirect Control Reference
COM Return Values
Table of Possible Values
Code Meaning
S_OK
Success: Normal return
E_CSI_FAIL
Error: Unexpected error
E_CSI_NOT_STARTED Error: The LoggerNet server is not started
ServerDirect.serverWorkDir
Name
ServerDirect.serverWorkDir As String (Required)
Description
This required property must be specified before starting the LoggerNet server
and describes the location of the LoggerNet server configuration files. This
property must be set before starting the LoggerNet server or the startServer()
event will fail. If this location needs to be changed after the LoggerNet server
has been started, call stopServer(), set the new location, and then call
startServer().
COM Return Values
Table of Possible Values
Code Meaning
S_OK
Success: Normal return
E_CSI_BUSY
Error: The property cannot be set while a connection to
the LoggerNet server is present
ServerDirect.tcpPort
Name
ServerDirect.tcpPort As Integer
Description
This property sets the TCP port that the LoggerNet server will use when
listening for client connections and must be set before starting the LoggerNet
server. LoggerNet uses the TCP port 6789 by default. This property accepts
1 - 32767 as valid values.
COM Return Values
Table of Possible Values
Code Meaning
S_OK
Success: Normal return
14-3