Instrument Control Toolbox    
echoudp

Start or stop a UDP echo server

Syntax

Arguments

'state'
Turn the server on or off.
port
Port number of the server.

Description

echoudp('state',port) starts a UDP server with port number specified by port. state can only be on.

echoudp('state') stops the echo server. state can only be off.

Example

Start the echo server and create a UDP object.

Connect the UDP object to the host.

Write to the host and read from the host.

Stop the echo server and disconnect the UDP object from the host.

See Also

Functions

echotcpip, tcpip, udp


  echotcpip fclose