socket.h
author Tero Marttila <terom@fixme.fi>
Mon, 07 Jul 2008 04:36:03 +0300
changeset 27 1e79b4cc8f1b
parent 26 6d615203d963
child 38 9894df13b779
permissions -rw-r--r--
support for static files (.css, .html, .js), and tiles - serves up a full viewer at / now, but the JS code needs cleaning up

committer: Tero Marttila <terom@fixme.fi>
#ifndef SOCKET_H
#define SOCKET_H

#include "config.h"

#define SOCKET_LISTEN_BACKLOG 128

int socket_listen (struct config_endpoint *endpoint, int sock_type);
int socket_connect_async (struct config_endpoint *endpoint, int sock_type);

#endif /* SOCKET_H */