TCP/IP sockets allow you to receive data from any TCP/IP-based host (for example, mainframes, UNIX An operating system for workstations developed by AT&T Bell Laboratories that features multiprogramming in a multiuser environment. computers, and AS/400s) with direct socket connections. TCP/IP socket provides a direct socket connection, which is appropriate for basic TCP/IP communication.
Use these procedures to add, modify, and remove TCP/IP ports.
Complete the following steps to add a TCP/IP port.
Open the TCP/IP Configuration utility.
From the Socket tab, click Add. The Port Properties dialog box displays.
Enter the Port number. By default, the first port number is 9100 and all subsequent port numbers will increment by 1.
If necessary, under Document attributes, assign attribute values to the file when it is added to the spool.
Click Add. The Select Field dialog box displays.
Select the section that contains the field from the drop-down list.
Select the field.
Enter the Field value. This can be entered in decimal or hexadecimal format.
Click OK. The Input Data Conversion Utility displays.
On the Format tab, select the file type you will be receiving and select options as necessary. The options that are available vary depending on the selected file type. See the Format tab for descriptions of each option.
On the Options tab, select an output statement and configure headers from data if necessary. We do not recommend using these options together. If you want to use both of these options, select your settings carefully. You can also select a code page and specify the number of records to remove if necessary. See the Options tab for descriptions of each option.
Click OK.
Click OK to exit the TCP/IP Configuration utility.
Complete the following steps to modify the settings for a TCP/IP port.
Open the TCP/IP Configuration utility.
From the Socket tab, right-click the port and select Modify Properties or Modify Conversions or select the port and click Modify | Properties or Conversions.
Modifying properties will display the Port Properties dialog box where you select the port number and document attributes. Modifying conversions will display the Input Conversion Utility. Use the Format tab to select the file type you will be receiving and select options as necessary. Use the Options tab to select an output statement, configure headers from data, and select code pages if necessary. The options that are available vary depending on the selected file type.
Click OK.
Complete the following steps to remove a TCP/IP port.
Open the TCP/IP Configuration utility.
From the Socket tab, select the Port you would like to remove and click Remove. You can also right-click the port and select Remove.