NETLinkOpen()

Description

NETLinkOpen() is used to establish a link to an advertised port on a network accessable system.

Call Signature

NETLink ptr NETLinkOpen ( string host_name, int port_number )

Return Value

NETLink ptr

The function returns a new NETLink which can be used to communicate. If the connection fails, a NULL pointer will be returned.

Arguments

string host_name:

The Internet name or IP number of the host. This can be "localhost" to look on the current system.

int port_number:

The TCP/IP port number to connect to. This would be the PortId() of the NETPort to connect to.

See also

NETLink class

Inter-process communication

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