| Prev | Next | Start of Chapter | End of Chapter | Contents | Glossary | Index | Comments | (41 out of 48)

tcpport

Directs the new G2 process to open a network connection to the specified TCP/IP port, with additional attempts to connect to other TCP/IP ports as necessary.

Platforms

All platforms

Syntax

	-tcpport tcpip-port-number 
tcpip-port-number: A positive integer; however, TCP/IP port numbers under 1000 are often reserved by your platform and should be avoided for use with G2.

Equivalent Environment Variable

None

Description

This option directs the new G2 process to open a network connection to a TCP/IP port. Specify the port's name as an argument, following the option.

If the new G2 process cannot open a connection to the specified port, this option also directs G2 to attempt to open a connection to the G2 default TCP/IP port 1111. If this is not successful, G2 increments the port's last digit (to 1112), attempts to connect to that port, and so on. G2 stops after trying to connect to TCP/IP port 1210-that is, after incrementing the G2 default TCP/IP port number 100 times.

Special Considerations

Including the -tcpipexact option in the command line modifies how the new G2 process attempts to open a TCP/IP network connection. See the section tcpipexact.

Example

This command starts a G2 process that attempts to open a network connection to TCP/IP port 1711:

| Prev | Next | Start of Chapter | End of Chapter | Contents | Glossary | Index | Comments | (41 out of 48)

Copyright © 1997 Gensym Corporation, Inc.