Click here to Skip to main content
15,896,912 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
In the offical documentation says"An even-numbered port for console connections.".what does this mean?ADB client's commands are executed by adb server.There is a connection between adbserver and adbd,so why it still needs a connection between android and console?what can this connection do?

What I have tried:

read the offical documentation
Posted
Updated 12-Apr-16 21:52pm

1 solution

The server provides a connection to the daemon running on the device, and the client applications (e.g. adb) running in the user's PC, aka console.
 
Share this answer
 
v2
Comments
TimGallin 13-Apr-16 5:58am    
What about the even-number port?When it will be used and what is its function?
Richard MacCutchan 13-Apr-16 6:39am    
It is for the client applications (which run on the PC) to connect to the ADBD server.
TimGallin 13-Apr-16 22:57pm    
Client defalut uses the port 5037 to connect with ADB server,it gets console command and send it to ADB server.ADB server will transmit the command to ADBD(which run on ANDROID) in an odd-numbered port if it can't processs.This seems to be a complete chain.In this information chain,this looks don't need even-numbered port.So when it will use even-numbered port and what will it do with the even-numbered port? Can you take an example? Really really appreciate.
Richard MacCutchan 14-Apr-16 2:40am    
Sorry, I do not know the internals of ADB. And why is it important?
TimGallin 14-Apr-16 4:34am    
Em... I'm just curious about it.Still thank you

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900