Home > Back-end >  Websocket c no network can be used?
Websocket c no network can be used?

Time:09-25

Now has an android apk, android machine as a server. The c + + tools as a Client., their way of connection is through the way of websocket, according to understand, they can direct communication, but the whether there is agreement must get to the Internet, can take out, Internet cable is connected not pull, physicist transport error. How can I turn off, or have any other way,

CodePudding user response:

Do you want to make into the wireless communications?

CodePudding user response:

At the very least to create some kind of connection,
Either wifi.
Or bluetooth,
Either the sound waves of sound waves,
Either for laser,

CodePudding user response:

Is a cable, Windows tool software hair in the past, the adb instructions apk is after receiving treatment, and then send information to come over, window tool to obtain, but use the websocket protocol, is not very understand what is the working principle of the websocket,

CodePudding user response:

I wrote above is much, not sending the adb command, is a Jason format to TCP port

CodePudding user response:

Websocket by application layer protocols HTTP handshake, should belong to the long connection
  • Related