<commit_before>//
// Created by fred on 06/12/16.
//

#ifndef FRNETLIB_TCPSOCKET_H
#define FRNETLIB_TCPSOCKET_H

#include <memory>
#include <mutex>
#include "Socket.h"

namespace fr
{
#define RECV_CHUNK_SIZE 2048 //How much data to try and recv at once

class TcpSocket : public Socket
{
public:
    TcpSocket() noexcept;
    virtual ~TcpSocket() noexcept;
    TcpSocket(TcpSocket &&other) noexcept
    : unprocessed_buffer(std::move(other.unprocessed_buffer)),<commit_msg>Increased receive chunk size to 4096 bytes<commit_after>//
// Created by fred on 06/12/16.
//

#ifndef FRNETLIB_TCPSOCKET_H
#define FRNETLIB_TCPSOCKET_H

#include <memory>
#include <mutex>
#include "Socket.h"

namespace fr
{
#define RECV_CHUNK_SIZE 4096 //How much data to try and recv at once

class TcpSocket : public Socket
{
public:
    TcpSocket() noexcept;
    virtual ~TcpSocket() noexcept;
    TcpSocket(TcpSocket &&other) noexcept
    : unprocessed_buffer(std::move(other.unprocessed_buffer)),
{'fraction_non_alphanumeric': 0.10461538461538461, 'fraction_numerical': 0.024615384615384615, 'mean_word_length': 4.707602339181286, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2201411', 'n_tokens_mistral': 365, 'n_tokens_neox': 348, 'n_words': 93}