forked from ROMEO/obsw
starting fsfw
This commit is contained in:
8
bsp_z7/objects/communication/SerialTCPCookie.cpp
Normal file
8
bsp_z7/objects/communication/SerialTCPCookie.cpp
Normal file
@ -0,0 +1,8 @@
|
||||
#include "SerialTCPCookie.h"
|
||||
|
||||
SerialTCPCookie::SerialTCPCookie(const char* host, uint16_t port, bool flush, size_t bufferSize)
|
||||
: host(host), port(port), flush(flush), bufferSize(bufferSize), socket(-1) {
|
||||
buffer = new uint8_t[bufferSize];
|
||||
}
|
||||
|
||||
SerialTCPCookie::~SerialTCPCookie() { delete buffer; }
|
Reference in New Issue
Block a user