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 80e83c3 commit d889fe9Copy full SHA for d889fe9
Client/src/App.vue
@@ -161,6 +161,18 @@ export default {
161
this.logMessage(
162
`Sending message '${message}' to peer ${peer} through router ${router}.`
163
);
164
+ },
165
+ getInformationFromSwitcher: function () {
166
+ // Get information from switcher
167
+ // let sendMessage = Buffer.from("UDP CONNETION DATA");
168
+ console.log("getting information from switcher");
169
+ this.sendMessage(
170
+ 3,
171
+ "client connecting to switcher",
172
+ "localhost",
173
+ this.socketPort
174
+ );
175
176
sendMessage: function (type, message, ip, port) {
177
let sendMessage = this.prepareMessage(type, message);
178
console.log({ sendMessage, cli: this.client });
0 commit comments