Bitcoin Forum
May 07, 2024, 11:48:54 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: What's the point of sending a Ping message at the beginning of the connection?  (Read 148 times)
Coding Enthusiast (OP)
Legendary
*
Offline Offline

Activity: 1039
Merit: 2783


Bitcoin and C♯ Enthusiast


View Profile WWW
August 05, 2020, 10:20:09 AM
Merited by ABCbits (3)
 #1

I though Ping message was to check the connection when some time was passed and to check the connection is still alive. But I'm receiving it right at the beginning. The sequence of messages that I receive is this (without delay):
(send Version)
Version Verack
(send Verack)
SendHeaders
SendCmpct (2 times one for each version!)
Ping
Addr
GetHeaders

Projects List+Suggestion box
Donate: 1Q9s or bc1q
|
|
|
FinderOuter(0.19.1)Ann-git
Denovo(0.7.0)Ann-git
Bitcoin.Net(0.26.0)Ann-git
|
|
|
BitcoinTransactionTool(0.11.0)Ann-git
WatchOnlyBitcoinWallet(3.2.1)Ann-git
SharpPusher(0.12.0)Ann-git
"Governments are good at cutting off the heads of a centrally controlled networks like Napster, but pure P2P networks like Gnutella and Tor seem to be holding their own." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715082534
Hero Member
*
Offline Offline

Posts: 1715082534

View Profile Personal Message (Offline)

Ignore
1715082534
Reply with quote  #2

1715082534
Report to moderator
1715082534
Hero Member
*
Offline Offline

Posts: 1715082534

View Profile Personal Message (Offline)

Ignore
1715082534
Reply with quote  #2

1715082534
Report to moderator
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3388
Merit: 6631


Just writing some code


View Profile WWW
August 05, 2020, 03:48:45 PM
Merited by ABCbits (1), Coding Enthusiast (1)
 #2

It's sent as a latency probe.

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!