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





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 Integer

[C#]
public int ConnectPort {get; set;}

[Managed C++]
public: __property int get_ConnectPort();
public: __property void set_ConnectPort(
int
);

[Unmanaged C++]
public: HRESULT get_ConnectPort(
int * pRetVal
);
public: HRESULT put_ConnectPort(
int NewConnectPort
);

[Java]
public ppInteger getConnectPort();public void setConnectPort(
ppInteger
);

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

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1