source/lib/VBConnPanel.js
// Context menu event listener for re-connect

Context menu event listener for re-connect
Context menu event listener for re - connect
onReConnect() {
    if (this.vbSocket) {
      this.vbSocket.terminate()
    }
    this.vbSocket = this.doCreateSocket()
  }
onReConnect ( ) { if ( this . vbSocket ) { this . vbSocket . terminate ( ) } this . vbSocket = this . doCreateSocket ( ) }
Context menu event listener for re-connect
Context menu event listener for re - connect
// To re-connect to a device, simply destroy the existing VBSocket
 // object, and thus the underlying Node.js socket object, then
 // create a new VBSocket
 // Assume that when the VBSocket object is destroyed, a
 // [FIN, ACK] packet will be sent to the device
