NETPort::PortID()

Description

PortID() is used to establish the TCP/IP port on which the NETPort is accepting connections.

Call Signature

int PortID ( )

Return Value

int

The TCP/IP port id or 0 if the port was not successfully created.

Remarks

The port id returned can be used by other processes with the NETLinkOpen() intrinsic to create a NETLink to this NETPort.

Example


 print poPort.PortID()

See also

NETPort class

Inter-process communication

© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.