(To be removed) Create TCPIP object
tcpip
and its object properties will be removed. Usetcpclient
ortcpserver
and its properties instead. For more information, seeCompatibility Considerations。
creates a TCPIP object,t
= tcpip(RemoteHost
)t
, associated with remote hostRemoteHost
and the default remote port value of 80.
When the TCPIP object is created, itsStatus
property value isclosed
。When the object is connected to the host with thefopen
function, theStatus
property is configured toopen
。
The default local host in multihome hosts is the system default. TheLocalPort
property defaults to a value of[]
, which allows any free local port to be used.LocalPort
is assigned whenfopen
is issued.
creates a TCPIP object with the specified remote port valuet
= tcpip(RemoteHost
,RemotePort
)RemotePort
。
creates a TCPIP object with the specified optional name-value pairs. If an invalid property name or property value is specified, the object is not created.t
= tcpip(___,Name,Value
)