aboutsummaryrefslogtreecommitdiff
path: root/src/socket.h
blob: 344fbc5b591b1b0b811cfd5435e9395cc8c1657a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef SOCKET_H
#define SOCKET_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