summaryrefslogtreecommitdiff
path: root/src/tcp.h
blob: 248f941abc21ad175967a68256eb92071f3ca92d (plain)
1
2
3
4
5
6
7
8
#ifndef _TCP_H_
#define _TCP_H_

int hostname_to_ip(const char* const hostname, char *ip);
int tcp_connect(const char* const host, const int port);
void tcp_close(const int sd);

#endif