Closed GermainZ closed 9 years ago
Thanks for the PR @GermainZ! Other than a few minor knit-picks, I see no reason not to merge this once those are addressed.
Ah, sorry -- should have double checked my commit. :) I think all issues are fixed now.
Would the client's PING message include this information? If so I think it would be better to get it from there.
Not unless I'm misunderstanding the RFC:
Command: PONG
Parameters:
[ ] PONG message is a reply to ping message. If parameter
is given, this message MUST be forwarded to given target. The parameter is the name of the entity who has responded to PING message and generated this message.
Reading that again, though, I think self.swrite('PONG', 'localhost', ':localhost')
can be simplified to self.swrite('PONG', 'localhost')
.
Sorry it took so long to merge this, had to find time to actually run it :) Thanks for the contribution!