apply socket
apply socket Request: Set a socket to listen for incoming connections on.
listen.applysocketunique ID
unique IDinterface string: optionalport
portprotocol family
protocol familySSL
SSL: optionalBonjour domains array of string: optional, uniqueoptions array of
socket options: optional, uniqueDescription
apply socket adds or modifies a single socket. Sockets are indexed by their unique ID. If the socket's unique ID is unique, the provided socket is added. If the socket's unique ID matches an existing socket's unique ID, the existing socket is replaced by the provided socket.