We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f99d14d commit 80e83c3Copy full SHA for 80e83c3
Client/src/App.vue
@@ -139,6 +139,24 @@ export default {
139
}
140
141
};
142
+ if (!this.hasFirstRouter) {
143
+ this.getInformationFromSwitcher();
144
+
145
+ return (
146
+ this.logMessage(
147
+ `Initial Router has not been detected on the Switcher Netowrk`
148
+ ),
149
+ this.logMessage(`Requesting information from Switcher for Router 1`)
150
+ );
151
+ }
152
+ // Send message
153
+ // let sendMessage = Buffer.from("UDP CONNETION DATA");
154
+ this.sendMessage(
155
+ 5,
156
+ { message, peer },
157
+ this.routerIp,
158
+ this.routerPort
159
160
161
this.logMessage(
162
`Sending message '${message}' to peer ${peer} through router ${router}.`
0 commit comments