json-rpc and p2p port protocol type

0

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?

zhiyan114

Posted 2019-02-12T02:48:16.690

Reputation: 578

Answers

0

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.

Andrew Chow

Posted 2019-02-12T02:48:16.690

Reputation: 50 267

Thanks so before making possible changes, does it require UDP by default or only allowing TCP will work?

Since im trying to run in a network where some TCP port are unblocked and UDP are completely blocked – zhiyan114 – 2019-02-12T16:01:41.047

They use TCP already ... UDP is not used. – Andrew Chow – 2019-02-12T18:17:34.670

oh ok thanks then no code modification needed – zhiyan114 – 2019-02-12T18:29:53.120