See SET IP for the SET commands and IP Item Attributes for a list of attributes.
NEW IP ipname laddr|* lport|* raddr rport timeout [ /G ]
Create a new IP item and connect to host. On success, the new IP item is returned in variable #new and the return code variable RC is set to 0.
ipname |
name of the new IP item |
laddr |
the local IP address (name or dotted number) or '*' for 'localhost' or 127.0.0.1. |
lport |
the port number or '*' if Windows should automatically assign one. |
raddr |
the remote IP address (name or dotted number). |
rport |
the remote port number |
timeout |
timeout (milliseconds) for send/receive where /Wait is specified (see SET IP) |
/G
Garbage collection. If specified, the item is automatically deleted when exiting the macro.