From d9bc63a10d0978d9a5222cf7be74044e55f409b7 Mon Sep 17 00:00:00 2001 From: Jeff Halter <868228+jhalter@users.noreply.github.com> Date: Tue, 9 Jul 2024 21:36:27 -0700 Subject: Extensive refactor and clean up --- hotline/client.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hotline/client.go') diff --git a/hotline/client.go b/hotline/client.go index 2389ee5..e75f77b 100644 --- a/hotline/client.go +++ b/hotline/client.go @@ -119,8 +119,8 @@ var ServerHandshake = []byte{ } func (c *Client) Handshake() error { - // Protocol ID 4 ‘TRTP’ 0x54 52 54 50 - // Sub-protocol ID 4 User defined + // Protocol Type 4 ‘TRTP’ 0x54 52 54 50 + // Sub-protocol Type 4 User defined // Version 2 1 Currently 1 // Sub-version 2 User defined if _, err := c.Connection.Write(ClientHandshake); err != nil { -- cgit