summaryrefslogtreecommitdiff
path: root/noncore/net/wellenreiter/libwellenreiter/source/sock.hh
blob: 611e33559c028d80d0e0450b97bf80f21af0282b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* $id */

#ifndef WLSOCK_HH
#define WLSOCK_HH

#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <signal.h>
#include <string.h>
#include <unistd.h>
#include <stdlib.h>
#include <errno.h>

int commsock(const char *, int);
int sendcomm(const char *, int, const char *, ...);
int recvcomm(int *, char *, int);

#endif /* WLSOCK_HH */