hobbes
a language, embedded compiler, and runtime for efficient dynamic expression evaluation, data storage and analysis
Classes | Namespaces | Macros | Functions
netio.H File Reference
#include <hobbes/util/perf.H>
#include <hobbes/util/time.H>
#include <string>
#include <vector>
#include <stdexcept>
#include <iostream>
#include <sys/types.h>
#include <sys/socket.h>
Include dependency graph for netio.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  hog::buffer
 

Namespaces

 hog
 

Macros

#define out   std::cout << "[" << hobbes::showDateTime(hobbes::time() / 1000) << "]: "
 

Functions

void hog::ssend (int c, const uint8_t *d, size_t dsz)
 
void hog::ssend (int c, const std::string &s)
 
void hog::srecv (int c, uint8_t *d, size_t dsz)
 
void hog::srecv (int c, std::vector< uint8_t > *d)
 
void hog::srecv (int c, std::string *s)
 
size_t hog::uptoPow2 (size_t x)
 
void hog::srecv (int c, buffer *b)
 

Macro Definition Documentation

◆ out

#define out   std::cout << "[" << hobbes::showDateTime(hobbes::time() / 1000) << "]: "