Author

Topic: What's the point of sending a Ping message at the beginning of the connection? (Read 173 times)

staff
Activity: 3458
Merit: 6793
Just writing some code
It's sent as a latency probe.
legendary
Activity: 1042
Merit: 2805
Bitcoin and C♯ Enthusiast
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
Jump to: