json-rpc and p2p port protocol type What type of port protocol do json-rpc and p2p use? does it use TCP or UDP?

If possible, can you config or reprogram the open-source and compile the source to use TCP only if it also uses UDP?
What type of port protocol do json-rpc and p2p use? does it use TCP or UDP?


Both use TCP.


  If possible, can you config or reprogram the open-source and compile the source to use TCP only if it also uses UDP?


Certainly. It's open source, you can change whatever you want.