aboutsummaryrefslogtreecommitdiff
path: root/src/socket.h
blob: ba908438ebc4bbe3cbff04a788f7bf9f1dc0d842 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef SOCKET_H
#define SOCKET_H

#include "config.h"

#include <stdlib.h>

int SocketConnect(const char *host, short port);

int SocketDisconnect(int sock);

int SocketSendAll(int sock, const char *buf, size_t *len);

#endif