Vizard 7 » Command Index » Vizard modules » viz » <viz:net>.addPort
7.7

<viz:net>.addPort

Tell Vizard to listen on the following port for network data

<viz:net>.addPort(  
port  
)  
port
A valid port number

Remarks

This command will add the port to the list of ports Vizard will listen to for network data. By default Vizard will listen on port viz.NETWORK_PORT

Return Value

None

Example

#Listen on port 5000 for network data
viz.net.addPort(5000)

See also

<viz:net>.removePort
<network>.port