| Instrument Control Toolbox | ![]() |
Start or stop a TCP/IP echo server
Syntax
Arguments
'state' |
Turn the server on or off. |
port |
Port number of the server. |
Description
echotcpip(' starts a TCP/IP server with port number specified by state',port)
port. state can only be on.
echotcpip(' stops the echo server. state')
state can only be off.
Example
Start the echo server and create a TCP/IP object.
Connect the TCP/IP object to the host.
Write to the host and read from the host.
Stop the echo server and disconnect the TCP/IP object from the host.
Functions
| disp | echoudp | ![]() |