Echelon OpenLDV User Manual Page 187

  • Download
  • Add to my manuals
  • Print
  • Page
    / 194
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 186
OpenLDV Programmer’s Guide 179
GetRemoteTCPAddress Method
Applies to: Session Control Object
This method obtains the remote TCP address of the RNI for the xDriver session.
For an uplink session, the remote TCP address is filled into the SCO
automatically. You could use this method to check that the remote TCP address
filled into the SCO is valid by comparing the address that this method returns
against the address stored in the database.
Syntax
C++ STDMETHOD(GetRemoteTCPAddress)(BSTR * tcpAddress)
Visual Basic Function GetRemoteTCPAddress() As String
Table 69. GetRemoteTCPAddress Parameters
Parameter Description
tcpAddress String variable that stores the return data.
Returns
The remote TCP address that the RNI is using, as a dotted decimal string or as a
hostname.
GetRemoteTCPPort Method
Applies to: Session Control Object
This method obtains the remote TCP port that the RNIs involved in the xDriver
session use to receive packets. For an uplink session, the remote TCP port
number is filled into the SCO automatically. You could use this method to check
that the remote TCP port filled into the SCO is valid by comparing it against the
port expected to be stored in the database if static outbound RNI addresses are
used.
Syntax
C++ STDMETHOD(GetRemoteTCPPort)(short * tcpPort)
Visual Basic Function GetRemoteTCPPort() As Short
Page view 186

Comments to this Manuals

No comments