Last chance! 50% off unlimited learning
Sale ends in
net_peerCount
returns the number of peers currently connected to the
client.
net_peerCount()
Integer - Number of connected peers.
Other net functions: gethr
,
net_listening
, net_version
# NOT RUN {
net_peerCount()
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab