hobbes
a language, embedded compiler, and runtime for efficient dynamic expression evaluation, data storage and analysis
Classes | Namespaces | Functions
net.C File Reference
#include <hobbes/ipc/net.H>
#include <hobbes/hobbes.H>
#include <hobbes/util/str.H>
#include <hobbes/util/codec.H>
#include <sstream>
#include <sys/types.h>
#include <sys/un.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <netinet/in.h>
#include <netdb.h>
#include <unistd.h>
#include <fcntl.h>
#include <string.h>
Include dependency graph for net.C:

Classes

class  hobbes::CCServer
 

Namespaces

 hobbes
 

Functions

int hobbes::lookupPort (const std::string &)
 
int hobbes::allocateServer (int port)
 
int hobbes::allocateServer (const std::string &port)
 
int hobbes::allocateFileSocketServer (const std::string &filepath)
 
int hobbes::connectSocket (int r, sockaddr *saddr, size_t len)
 
int hobbes::connectSocket (hostent *host, int port)
 
int hobbes::connectFileSocket (const std::string &filepath)
 
int hobbes::connectSocket (const std::string &host, int port)
 
int hobbes::connectSocket (const std::string &hostport)
 
std::string hobbes::remoteHostname (int socket)
 
void hobbes::prepareStrExpr (Server *s, int c, exprid eid, const std::string &expr, const MonoTypes &intys, const MonoTypePtr &outty)
 
void hobbes::evaluateNetREPLRequest (int c, void *d)
 
void hobbes::registerNetREPL (int s, Server *svr)
 
int hobbes::installNetREPL (int port, Server *)
 
int hobbes::installNetREPL (const std::string &, Server *)
 
int hobbes::installNetREPL (int port, cc *)
 
int hobbes::installNetREPL (const std::string &, cc *)