Skip to main content
Version: 25.2

accept

Command – accept connections (new in 1.5)

Allows a script to begin accepting incoming socket connections. Optional parameters include the port number on which to listen for connections (default is port 80), the command message to send when a connection is received (default is NewConnection), and the object to which the message should be sent (default is the object which called the accept connections command):

Examples:

accept connections on port 80 with message "NewConnection" to me

accept connections -- (defaults to same as above)