Campbell-scientific LoggerNet-SDK Software Development Kit Uživatelský manuál Strana 68

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 178
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 67
Section 14. CsiServerDirect Control Reference
ServerDirect.tcpPortEx
Name
ServerDirect.tcpPortEx As Long
Description
This property sets the TCP port that the LoggerNet server uses when listening
for client connections and must be set before starting the LoggerNet server.
LoggerNet uses TCP port 6789 by default. This property accepts the full range
of valid TCP port numbers 1 - 65535.
COM Return Values
Table of Possible Values
Code Meaning
S_OK
Success: Normal return
14.1.2 Methods
ServerDirect.startServer()
Name
ServerDirect.startServer()
Description
This method starts the limited LoggerNet server (CORALIB3D.DLL). The
CORALIB3D.DLL must exist in the application folder, the PATH
environmental variable, or the Windows directory or this method will fail.
COM Return Values
Table of Possible Values
Code Meaning
S_OK
Success: Normal return
E_CSI_ALREADY_STARTED
Error: This error is returned if the
ServerDirect control has already
started the LoggerNet server
E_CSI_INVALIDARG
Error: No working directory set
E_CSI_FAIL
Error: Another LoggerNet server
not started by the ServerDirect
control is already running or an
unexpected error has occurred
14-4
Zobrazit stránku 67
1 2 ... 63 64 65 66 67 68 69 70 71 72 73 ... 177 178

Komentáře k této Příručce

Žádné komentáře