Add comments
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user