Open topic with navigation
<viznet:server>.start
Start the server
<viznet:server>.start( |
|
port = None |
port_in = None |
port_out = None |
) |
|
port = None
Specify the port the server will communicate over.
If the value is None, then the server will communicate over the port specified by the option viznet.server.port
If the option is not specified, then the server will communicate over the default port, viz.NETWORK_PORT
port_in = None
Specify the port the server will receive messages on.
If the value is None, then the server will receive messages over the port specified by the option viznet.server.port_in
If the option is not specified, then the server will communicate over the value of the port parameter
port_out = None
Specify the port the server will send messages on.
If the value is None, then the server will send messages over the port specified by the option viznet.server.port_out
If the option is not specified, then the server will communicate over the value of the port parameter
Remarks
This command will start the server and begin monitoring the network for connections and events.
Return Value
None
Example
import viznet
viznet.server.start()