AGI STK X 11Send comments on this topic.
ConnectPort Property (AgSTKXApplication)
See Also
Windows






Windows & Linux

Description

Specify TCP/IP port to be used by Connect (default: 5001).

Property type

Read-write property

Syntax

[Visual Basic .NET]
Public Property ConnectPort() As short
[C#]
public short ConnectPort {get; set;}
[Managed C++]
public: __property short get_ConnectPort();
public: __property void set_ConnectPort( short );
[Unmanaged C++]
public: HRESULT get_ConnectPort(
    short * pVal
);
public: HRESULT put_ConnectPort(
    short newVal
);
[Java]
public short getConnectPort();
public void setConnectPort(
    short
);

Remarks

Changing the ConnectPort property only takes effect the next time the EnableConnect property is changed from false to true.

See Introduction to Connect for details about how to use the external connect library to send commands to STK X through TCP/IP.

See Also

© 2019 Analytical Graphics, Inc. All Rights Reserved.