Add comments

This commit is contained in:
2025-08-14 20:23:45 -04:00
parent f441b186b5
commit 1da824d8cb
5 changed files with 61 additions and 14 deletions

View File

@@ -1,5 +1,5 @@
#ifndef _LISTENER_SOCKETCONNECTIONRECEIVER_HPP_
#define _LISTENER_SOCKETCONNECTIONRECEIVER_HPP_
#ifndef _SSTP_SOCKETCONNECTIONRECEIVER_HPP_
#define _SSTP_SOCKETCONNECTIONRECEIVER_HPP_
#include <stdio.h>
#include <iostream>
#include <sys/types.h>
@@ -23,6 +23,7 @@ class SocketConnectionReceiver
static constexpr size_t BUFFER_LENGTH=65536; // this is the buffer length for the socket
void threadFunction(int data);
bool handlePut(Block<String> &commands);
void handleQuit(void);
size_t readLine(String &line);
size_t expectPacket(void);
size_t read(Array<char> &buffer);