slows/hosts.h

18 lines
211 B
C
Raw Permalink Normal View History

2024-11-06 14:44:39 -05:00
#ifndef H_HOST
#define H_HOST
#include <netinet/in.h>
// A connection.
struct host {
char *name;
int sockfd;
struct sockaddr_in conn;
int h_port;
int c_port;
};
void init_hosts(char *file);
#endif