aboutsummaryrefslogtreecommitdiff
path: root/hotline/client.go
diff options
context:
space:
mode:
authorJeff Halter <868228+jhalter@users.noreply.github.com>2024-07-09 21:36:27 -0700
committerJeff Halter <868228+jhalter@users.noreply.github.com>2024-07-09 21:42:05 -0700
commitd9bc63a10d0978d9a5222cf7be74044e55f409b7 (patch)
tree1797c9593c279bf1334ed8285de8054a92a28dcb /hotline/client.go
parent8fa166777cbcd92e871e937d9557f0f1a732c04d (diff)
Extensive refactor and clean up
Diffstat (limited to 'hotline/client.go')
-rw-r--r--hotline/client.go4
1 files changed, 2 insertions, 2 deletions
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 {