Class: SecsockServer

SecsockServer(listener, port, hostname)

new SecsockServer(listener, port, hostname)

Parameters:
Name Type Default Description
listener SecsockCallback

The listener for when a connection is established

port number

The port that the server will listen on

hostname string 0.0.0.0

The hostname the server will listen on

Source: