NodedgramSocket.prototype.disconnectmethod Socket.prototype.disconnect#Socket.prototype.disconnect(): voidA synchronous function that disassociates a connected dgram.Socket from its remote address. Trying to call disconnect() on an unbound or already disconnected socket will result in an ERR_SOCKET_DGRAM_NOT_CONNECTED exception. Return Type #void
method Socket.prototype.disconnect#Socket.prototype.disconnect(): voidA synchronous function that disassociates a connected dgram.Socket from its remote address. Trying to call disconnect() on an unbound or already disconnected socket will result in an ERR_SOCKET_DGRAM_NOT_CONNECTED exception. Return Type #void